summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-17 10:51:15 -0700
committerNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-17 10:51:15 -0700
commit3fe0ad52e519df3935312ac964c5718062f7e35b (patch)
tree0934c2eb6b95c22c77da48fbcd7c63e27f36d190
parent1089f0595449d2cfcada704e28d820aba352e352 (diff)
Update interactive rebase flow
Some repos use the merge strategy so just picking a number of commits from `HEAD`.
-rw-r--r--git.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.zsh b/git.zsh
index 0641751..50e1695 100644
--- a/git.zsh
+++ b/git.zsh
@@ -48,5 +48,5 @@ function active_branch () {
}
function grbi () {
- git rebase -i --autosquash "HEAD~${1:-12}"
+ git rebase -i --autosquash master
}