Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
8e74f7c1
Commit
8e74f7c1
authored
Sep 24, 2015
by
Michael SALIHI
Browse files
Add alias for print latest tag name
parent
76a26a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
8e74f7c1
...
...
@@ -84,6 +84,7 @@ alias gcs='git commit -S'
alias
gd
=
'git diff'
alias
gdca
=
'git diff --cached'
alias
gdct
=
'git describe --tags `git rev-list --tags --max-count=1`'
alias
gdt
=
'git diff-tree --no-commit-id --name-only -r'
gdv
()
{
git diff
-w
"
$@
"
| view -
}
compdef _git
gdv
=
git-diff
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment