git: rebase with updateRefs
This commit is contained in:
parent
5a9d74e7ad
commit
c0eb09f1c9
@ -68,6 +68,11 @@
|
||||
ri = "rebase -i --autostash --autosquash"
|
||||
up = pull --rebase --autostash
|
||||
rebaseour = "rebase -Xours"
|
||||
[rebase]
|
||||
# when rebasing, update the other common branch too.
|
||||
# See https://andrewlock.net/working-with-stacked-branches-in-git-is-easier-with-update-refs/
|
||||
# Need git 2.38
|
||||
updateRefs = true
|
||||
[branch]
|
||||
#New branch track remote
|
||||
#autosetupmerge = always
|
||||
|
Loading…
Reference in New Issue
Block a user