Created
November 24, 2011 20:43
-
-
Save hkhan/1392241 to your computer and use it in GitHub Desktop.
basic git commands
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 checkout -t origin/feature | |
# creates and checks out "feature" branch that tracks "origin/feature" | |
git push -u origin master | |
# pushes the "master" branch to "origin" remote and sets up tracking | |
git pull-request -h [project]:[branch] | |
# generate a pull-request from the specified branch e.g git pull-request -h nature:669-viewer-api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment