mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
feat(git): add merge squash alias
This commit is contained in:
parent
39b600e9e5
commit
d1d2ceba6b
2 changed files with 2 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ plugins=(... git)
|
|||
| gmtl | git mergetool --no-prompt |
|
||||
| gmtlvim | git mergetool --no-prompt --tool=vimdiff |
|
||||
| gmum | git merge upstream/$(git_main_branch) |
|
||||
| gms | git merge --squash |
|
||||
| gma | git merge --abort |
|
||||
| gp | git push |
|
||||
| gpd | git push --dry-run |
|
||||
|
|
|
|||
|
|
@ -231,6 +231,7 @@ alias gmtl='git mergetool --no-prompt'
|
|||
alias gmtlvim='git mergetool --no-prompt --tool=vimdiff'
|
||||
alias gmum='git merge upstream/$(git_main_branch)'
|
||||
alias gma='git merge --abort'
|
||||
alias gms="git merge --squash"
|
||||
|
||||
alias gp='git push'
|
||||
alias gpd='git push --dry-run'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue