Last active
August 29, 2015 13:57
-
-
Save davidsp/9486972 to your computer and use it in GitHub Desktop.
useful 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 add -u | |
| git add --all | |
| cat .gitignore | |
| git add --force | |
| --update from origin | |
| git pull origin | |
| - remove the .git folder and start again | |
| rm -rf .git | |
| --new branch | |
| $ git checkout -b iss53 | |
| Switched to a new branch 'iss53' | |
| This is shorthand for: | |
| $ git branch iss53 | |
| $ git checkout iss53 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment