git add and commit at once

I use this really often - maybe others do to.
This commit is contained in:
Tiago Boldt Sousa 2014-09-10 01:57:39 +01:00
commit acceee866f

View file

@ -29,6 +29,8 @@ alias gca!='git commit -v -a --amend'
compdef _git gca!=git-commit compdef _git gca!=git-commit
alias gcmsg='git commit -m' alias gcmsg='git commit -m'
compdef _git gcmsg=git-commit compdef _git gcmsg=git-commit
alias gcam='git commit -a -m'
compdef _git gcam=git-commit
alias gco='git checkout' alias gco='git checkout'
compdef _git gco=git-checkout compdef _git gco=git-checkout
alias gcm='git checkout master' alias gcm='git checkout master'