Modified the git cheatsheet

This commit is contained in:
Chris Lane 2014-04-24 18:08:58 -04:00
parent 16c31c11fe
commit b20b6436e8
1 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,15 @@ git commit -m "Your commit message"
# To edit previous commit message
git commit --amend
# To removed staged and working directory changes
git reset --hard
# To remove untracked files
git clean -f -d
# To remove untracked and ignored files
git clean -f -d -x
# To push to the tracked master branch:
git push origin master