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
58491bda
Commit
58491bda
authored
Aug 31, 2014
by
Robby Russell
Browse files
Merge pull request #3012 from abstractj/git-gpg-signatures
Inclusion of aliases for sign git commits and tags
parents
74e7510a
45abe764
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
58491bda
...
@@ -80,6 +80,18 @@ alias grhh='git reset HEAD --hard'
...
@@ -80,6 +80,18 @@ alias grhh='git reset HEAD --hard'
alias
gclean
=
'git reset --hard && git clean -dfx'
alias
gclean
=
'git reset --hard && git clean -dfx'
alias
gwc
=
'git whatchanged -p --abbrev-commit --pretty=medium'
alias
gwc
=
'git whatchanged -p --abbrev-commit --pretty=medium'
# Sign and verify commits with GPG
alias
gcs
=
'git commit -S'
compdef _git
gcs
=
git-commit
alias
gsps
=
'git show --pretty=short --show-signature'
compdef _git
gsps
=
git-show
# Sign and verify tags with GPG
alias
gts
=
'git tag -s'
compdef _git
gts
=
git-tag
alias
gvt
=
'git verify-tag'
compdef _git
gvt
=
git verify-tag
#remove the gf alias
#remove the gf alias
#alias gf='git ls-files | grep'
#alias gf='git ls-files | grep'
...
...
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