Make git-histedit an alias. can use --keep-base after 2.24

Mon, 13 Dec 2021 13:02:46 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 13 Dec 2021 13:02:46 -0600
changeset 961
68baaab84a0c
parent 960
4921edc4b518
child 962
d8706e95ddee

Make git-histedit an alias. can use --keep-base after 2.24

.gitconfig file | annotate | diff | comparison | revisions
--- a/.gitconfig
+++ b/.gitconfig
@@ -21,6 +21,7 @@
 	staged     = diff --cached
 	unstage    = reset HEAD --
 	rollback   = reset --soft ^HEAD
+	histedit   = rebase -i --autosquash --onto @{u}... @{u}
 	pushf      = push --force-with-lease
 	up         = pull -r --prune
 	update     = "!git remote update -p && git merge --ff-only --stat @{u}"

mercurial