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
Oh My Zsh
Commits
035d7812
Commit
035d7812
authored
Aug 15, 2018
by
Peter Bittner
Committed by
Marc Cornellà
Aug 15, 2018
Browse files
Add Git alias for `git diff --staged` (#7064)
parent
af1709cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
035d7812
...
@@ -89,6 +89,7 @@ alias gd='git diff'
...
@@ -89,6 +89,7 @@ alias gd='git diff'
alias
gdca
=
'git diff --cached'
alias
gdca
=
'git diff --cached'
alias
gdcw
=
'git diff --cached --word-diff'
alias
gdcw
=
'git diff --cached --word-diff'
alias
gdct
=
'git describe --tags `git rev-list --tags --max-count=1`'
alias
gdct
=
'git describe --tags `git rev-list --tags --max-count=1`'
alias
gds
=
'git diff --staged'
alias
gdt
=
'git diff-tree --no-commit-id --name-only -r'
alias
gdt
=
'git diff-tree --no-commit-id --name-only -r'
alias
gdw
=
'git diff --word-diff'
alias
gdw
=
'git diff --word-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