Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== adding a remote ====== If you clone a repo, the repo you cloned from will automatically be configured as a remote named "origin". If you want to set up a remote after the fact, do this<code> $ git remote add origin /path/to/project.git </code> Now tell git to update your remote:<code> $ git push origin master 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> docs/git/adding_a_remote.txt Last modified: 2009/11/09 16:10by billh