Skip to content

Commit

Permalink
Merge pull request #2223 from bittner/patch-6
Browse files Browse the repository at this point in the history
Add more aliases for `git merge` and `git rebase`
  • Loading branch information
seefood authored Nov 5, 2024
2 parents 9f92a29 + db3eb76 commit 998e1d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aliases/available/git.aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ fi

# merge
alias gm='git merge'
alias gma='git merge --abort'
alias gmc='git merge --continue'
alias gms='git merge --squash'

# mv
alias gmv='git mv'
Expand Down Expand Up @@ -132,7 +135,9 @@ alias grm='git rm'

# rebase
alias grb='git rebase'
alias grba='git rebase --abort'
alias grbc='git rebase --continue'
alias grbi='git rebase --interactive'
alias grm='git rebase $(get_default_branch)'
alias grmi='git rebase $(get_default_branch) -i'
alias grma='GIT_SEQUENCE_EDITOR=: git rebase $(get_default_branch) -i --autosquash'
Expand Down

0 comments on commit 998e1d6

Please sign in to comment.