Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| git_fetch_pull_push [2019/04/04 02:03] – rpjday | git_fetch_pull_push [2019/04/04 03:20] (current) – [Pushing] rpjday | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| $ git fetch ln | $ git fetch ln | ||
| $ git fetch --all | $ git fetch --all | ||
| + | </ | ||
| + | |||
| + | Before fetching, remove any remote-tracking references that no longer exist on the remote. | ||
| + | |||
| + | < | ||
| + | $ git fetch [-p|--prune]] | ||
| + | </ | ||
| + | |||
| + | ===== Pushing ===== | ||
| + | |||
| + | < | ||
| + | $ git push origin thisbranch: | ||
| + | $ git push origin --delete < | ||
| </ | </ | ||