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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user