Created
July 7, 2011 19:40
-
-
Save lukemartin/1070357 to your computer and use it in GitHub Desktop.
Git: cheat sheet
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
# Remove deleted files from repo | |
$ git add -u | |
# Delete untracked files from local disk | |
$ git clean -f | |
# Amend previous commit (only unpushed commits) | |
$ git commit --amend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment