Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_fetch_pull_push [2019/04/04 02:03] rpjdaygit_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
 +</code>
 +
 +Before fetching, remove any remote-tracking references that no longer exist on the remote.
 +
 +<code>
 +$ git fetch [-p|--prune]]
 +</code>
 +
 +===== Pushing =====
 +
 +<code>
 +$ git push origin thisbranch:thatbranch
 +$ git push origin --delete <branchname>
 </code> </code>
  
  • git_fetch_pull_push.1554343384.txt.gz
  • Last modified: 2019/04/04 02:03
  • by rpjday