mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
feat: add gstam for --message
This commit is contained in:
parent
9e23925b85
commit
81874108c0
2 changed files with 5 additions and 0 deletions
|
|
@ -195,6 +195,8 @@ plugins=(... git)
|
|||
| `gstp` | `git stash pop` |
|
||||
| `gsta` | On Git >= 2.13: `git stash push` |
|
||||
| `gsta` | On Git < 2.13: `git stash save` |
|
||||
| `gstam` | On Git >= 2.13: `git stash push --message` |
|
||||
| `gstam` | On Git < 2.13: `git stash save` |
|
||||
| `gsts` | `git stash show --patch` |
|
||||
| `gst` | `git status` |
|
||||
| `gss` | `git status --short` |
|
||||
|
|
|
|||
|
|
@ -391,6 +391,9 @@ alias gstp='git stash pop'
|
|||
is-at-least 2.13 "$git_version" \
|
||||
&& alias gsta='git stash push' \
|
||||
|| alias gsta='git stash save'
|
||||
is-at-least 2.13 "$git_version" \
|
||||
&& alias gstam='git stash push --message' \
|
||||
|| alias gstam='git stash save'
|
||||
alias gsts='git stash show --patch'
|
||||
alias gst='git status'
|
||||
alias gss='git status --short'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue