From b97b3edc1f85da2ed630173be654af30013b7253 Mon Sep 17 00:00:00 2001 From: Rick Jones Date: Tue, 8 Mar 2016 16:00:29 +0000 Subject: [PATCH] Git tag aliases --- modules/git/README.md | 5 +++++ modules/git/alias.zsh | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/modules/git/README.md b/modules/git/README.md index c2d0449c..fce4a123 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -193,6 +193,11 @@ Aliases - `gSu` fetches and merges the latest changes for all submodule. - `gSx` removes a submodule. +### Tag + + - `gt` lists tags or creates tag. + - `gtl` lists tags matching pattern. + ### Working directory - `gws` displays working-tree status in the short format. diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index ffa854dd..36b4fc81 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -168,6 +168,10 @@ alias gSs='git submodule sync' alias gSu='git submodule foreach git pull origin master' alias gSx='git-submodule-remove' +# Tag (t) +alias gt='git tag' +alias gtl='git tag -l' + # Working Copy (w) alias gws='git status --ignore-submodules=${_git_status_ignore_submodules} --short' alias gwS='git status --ignore-submodules=${_git_status_ignore_submodules}'