Added some gems from Paul Irish's dotfiles, Removed syntastic

This commit is contained in:
Nick Nisi
2012-10-31 19:44:15 -05:00
parent 4e36d9581e
commit 835380bd0a
5 changed files with 161 additions and 10 deletions

View File

@@ -17,10 +17,13 @@ alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C
alias git-amend='git commit --amend -C HEAD'
alias git-undo='git reset --soft HEAD~1'
alias git-count='git shortlog -sn'
alias undopush="git push -f origin HEAD^:master"
# git root
alias gr='[ ! -z `git rev-parse --show-cdup` ] && cd `git rev-parse --show-cdup || pwd`'
alias sub-pull='git submodule foreach git pull origin master'
funciton get-credit() {
funciton give-credit() {
git commit --amend --author $1 <$2> -C HEAD
}