From 5115323f998d4e5230c41839d0a55be72fa9d88e Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Thu, 14 Apr 2011 10:37:24 -0700 Subject: [PATCH] new git aliases --- zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index 52203f0..09a1a7a 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -242,6 +242,8 @@ alias b='git branch' alias bt='git branch --track' alias bto='git-branch-track-origin' alias c='git commit' +alias cam='git commit -a -m' +alias cm='git commit -m' alias co='git checkout' alias cob='git checkout -b' alias chp='git cherry-pick' @@ -260,6 +262,7 @@ alias pob='git-pull-origin-branches' alias r='hub remote' alias ra='hub remote add' alias rbi='git rebase -i' +alias t='git tag' GIT_VERSION="$(git --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')" GIT_VERSION_MAJOR="${GIT_VERSION%%.*}" GIT_VERSION_MINOR="${${GIT_VERSION%.*}#*.}"