Skip to content

Instantly share code, notes, and snippets.

@rwetzeler
Created July 23, 2010 14:03
Show Gist options
  • Save rwetzeler/487472 to your computer and use it in GitHub Desktop.
Save rwetzeler/487472 to your computer and use it in GitHub Desktop.
Add Remote to Repo Git
$ cd /path/to/repository
$ git remote add REMOTE_NAME PATH_TO_REPO
$ git config remote.REMOTE_NAME.push refs/heads/master:refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment