Created
March 27, 2012 03:17
-
-
Save jasoares/2212161 to your computer and use it in GitHub Desktop.
git general trick various objectives
This file contains hidden or 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
| git push [remotename] [localbranch]:[remotebranch] | |
| git pull [remotename] [localbranch]:[remotebranch] | |
| git push [remotename] nil:[remotebranch] => git push [remotename] :[remotebranch] # deletes a remote branch | |
| git pull [remotename] [unexistentlocalbranch]:[remotebranch] # pulls a new remote branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment