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
# shortform git commands | |
alias g='git' | |
# remove .DS_Store from the repository you happen to staging by mistake | |
find . -name .DS_Store -exec git rm --ignore-unmatch --cached {} + | |
# Delete all local branches that have been merged into HEAD. | |
git branch -d `git branch --merged | grep -v '^*' | grep -v 'master' | tr -d '\n'` | |
# Credit an author on the last commit |
NewerOlder