brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| [alias] | |
| edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; $EDITOR `f`" | |
| add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`" | |
| lc = log ORIG_HEAD.. --stat --no-merges | |
| smash = merge --no-commit --log | |
| eat = branch -M | |
| prune-all = !git remote | xargs -n 1 git remote prune | |
| whois = "!sh -c 'git log -i --pretty=\"format:%an <%ae>\" --author=\"$1\" | sort -u' -" | |
| whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short |