Last active
August 29, 2015 14:12
-
-
Save jcpst/47c2339234c9f03efe1b to your computer and use it in GitHub Desktop.
working with repos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create a branch | |
git checkout -b iss53 | |
update a branch to master | |
$ git checkout jcpst | |
$ git merge master | |
change origin of repo | |
$ git remote rm origin | |
$ git remote add origin [email protected]:user/project.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment