More git aliases!

This commit is contained in:
Mark Vainomaa 2018-02-10 11:56:43 +02:00
parent f33f61c823
commit 3887725ca7
Signed by: mikroskeem
GPG Key ID: 1B3F9523B542D315

View File

@ -20,9 +20,15 @@ alias ga='git add'
alias gco='git checkout'
alias gs='git status'
alias gl='git pull'
alias gm='git commit'
alias gcm='git commit'
alias gp='git push'
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
alias gr='git reset --hard HEAD'
function gm {
local message="${@}"
git commit -m "${message}"
}
# Other aliases
alias grep="grep --color"