Add git-undo-commit alias

This commit is contained in:
Henrik Lissner 2014-07-29 19:03:03 -04:00
parent 425702a23b
commit eb165e55fc

View file

@ -6,6 +6,7 @@ if command_exists 'git'; then
alias gap='git add --patch' alias gap='git add --patch'
alias gt='git tag' alias gt='git tag'
alias gtl='git describe --tags --abbrev=0' alias gtl='git describe --tags --abbrev=0'
alias gcu='git reset --soft "HEAD^"'
# alias gpb='git push origin' # alias gpb='git push origin'
git-move-root() { git-move-root() {
@ -14,7 +15,7 @@ if command_exists 'git'; then
fi fi
# OS-specific aliases # OS-specific aliases
if [[ "$OSTYPE" != darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then
alias b='brew' alias b='brew'
alias v='vim' alias v='vim'
# Open file in emacs server; must be running! # Open file in emacs server; must be running!