docs:git:adding_a_remote

Differences

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

Link to this comparison view

docs:git:adding_a_remote [2009/11/09 15:19] – created billhdocs:git:adding_a_remote [2009/11/09 16:10] (current) billh
Line 7: Line 7:
 $ git push origin master $ git push origin master
 Everything up-to-date Everything up-to-date
 +</code>
 +
 +To make sure the merges work (git push/pull/fetch), do this (replace master with any other branch if you want tracking):<code>
 +git config branch.master.remote origin
 +git config branch.master.merge refs/heads/master
 </code> </code>
  • docs/git/adding_a_remote.1257805168.txt.gz
  • Last modified: 2009/11/09 15:19
  • by billh