1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-11 22:07:48 +08:00

(plugin) git: Added gmod alias for git merge origin $git_develop_branch

Issue: #10117
This commit is contained in:
za 2024-10-11 16:02:07 +07:00
parent 0c8ce9d6ad
commit aa2a664a13
No known key found for this signature in database
GPG Key ID: A9F471412BC97FF4
2 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ plugins=(... git)
| `gmc` | `git merge --continue` |
| `gms` | `git merge --squash` |
| `gmff` | `git merge --ff-only` |
| `gmod` | `git merge origin/$(git_develop_branch)` |
| `gmom` | `git merge origin/$(git_main_branch)` |
| `gmum` | `git merge upstream/$(git_main_branch)` |
| `gmtl` | `git mergetool --no-prompt` |

View File

@ -257,6 +257,7 @@ alias gma='git merge --abort'
alias gmc='git merge --continue'
alias gms="git merge --squash"
alias gmff="git merge --ff-only"
alias gmod='git merge origin/$(git_develop_branch)'
alias gmom='git merge origin/$(git_main_branch)'
alias gmum='git merge upstream/$(git_main_branch)'
alias gmtl='git mergetool --no-prompt'