Last active
August 29, 2015 14:15
-
-
Save vikeri/8eb812d7a7a9e8579631 to your computer and use it in GitHub Desktop.
git commands
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
# Clean .orig files with prompt | |
git clean -i | |
# Delete file from repo after it has been added to .gitignore | |
git rm --cached filename | |
# Search in commit messages for specific text | |
git log grep="Text to search for" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment