docs:git:adding_a_remote

This is an old revision of the document!


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

$ git remote add origin /path/to/project.git

Now tell git to update your remote:

$ git push origin master
Everything up-to-date
  • docs/git/adding_a_remote.1257805168.txt.gz
  • Last modified: 2009/11/09 15:19
  • by billh