Skip to content

Commit 998e1d6

Browse files
authoredNov 5, 2024··
Merge pull request #2223 from bittner/patch-6
Add more aliases for `git merge` and `git rebase`
2 parents 9f92a29 + db3eb76 commit 998e1d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎aliases/available/git.aliases.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ fi
9797

9898
# merge
9999
alias gm='git merge'
100+
alias gma='git merge --abort'
101+
alias gmc='git merge --continue'
102+
alias gms='git merge --squash'
100103

101104
# mv
102105
alias gmv='git mv'
@@ -132,7 +135,9 @@ alias grm='git rm'
132135

133136
# rebase
134137
alias grb='git rebase'
138+
alias grba='git rebase --abort'
135139
alias grbc='git rebase --continue'
140+
alias grbi='git rebase --interactive'
136141
alias grm='git rebase $(get_default_branch)'
137142
alias grmi='git rebase $(get_default_branch) -i'
138143
alias grma='GIT_SEQUENCE_EDITOR=: git rebase $(get_default_branch) -i --autosquash'

0 commit comments

Comments
 (0)
Please sign in to comment.