new commands, updated gitconfig

+ e opens $EDITOR (thanks @holman)
+ h is same as 'c' but in home directory (thanks @holman)
+ updated gitconfig
This commit is contained in:
Nick Nisi
2013-02-05 20:45:45 -06:00
parent fd79fe70c1
commit 99343b27a7
7 changed files with 26 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ alias grm='git rm'
alias grn='git-rename'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias git-amend='git commit --amend -C HEAD'
# alias git-amend='git commit --amend -C HEAD'
alias git-undo='git reset --soft HEAD~1'
alias git-count='git shortlog -sn'
alias git-undopush="git push -f origin HEAD^:master"