mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 11:13:39 +01:00
feat(git): add merge squash alias (gms
) (#10937)
This commit is contained in:
parent
e906a3130e
commit
ad99f0c164
@ -116,6 +116,7 @@ plugins=(... git)
|
|||||||
| gloga | git log --oneline --decorate --graph --all |
|
| gloga | git log --oneline --decorate --graph --all |
|
||||||
| glp | git log --pretty=\<format\> |
|
| glp | git log --pretty=\<format\> |
|
||||||
| gm | git merge |
|
| gm | git merge |
|
||||||
|
| gms | git merge --squash |
|
||||||
| gmom | git merge origin/$(git_main_branch) |
|
| gmom | git merge origin/$(git_main_branch) |
|
||||||
| gmtl | git mergetool --no-prompt |
|
| gmtl | git mergetool --no-prompt |
|
||||||
| gmtlvim | git mergetool --no-prompt --tool=vimdiff |
|
| gmtlvim | git mergetool --no-prompt --tool=vimdiff |
|
||||||
|
@ -237,6 +237,7 @@ alias gmtl='git mergetool --no-prompt'
|
|||||||
alias gmtlvim='git mergetool --no-prompt --tool=vimdiff'
|
alias gmtlvim='git mergetool --no-prompt --tool=vimdiff'
|
||||||
alias gmum='git merge upstream/$(git_main_branch)'
|
alias gmum='git merge upstream/$(git_main_branch)'
|
||||||
alias gma='git merge --abort'
|
alias gma='git merge --abort'
|
||||||
|
alias gms="git merge --squash"
|
||||||
|
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias gpd='git push --dry-run'
|
alias gpd='git push --dry-run'
|
||||||
|
Loading…
Reference in New Issue
Block a user