More git aliases!
This commit is contained in:
parent
f33f61c823
commit
3887725ca7
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user