Last active
February 4, 2024 05:35
-
-
Save BenSYZ/fedd78772ce7a3ab3bb5213fa8866321 to your computer and use it in GitHub Desktop.
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some cases, I want to reset the author and keep the date.
The reason of
shellcheck disable=SC2016is because I want to get the commit date at each rebasing step, which will give me correct date of that commit rather than set the date of each rebased commit to be the date of latest commit.Besides, here I use
"$@", so you can use--rebaseor commit reference or anything you like.