You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In some cases, I want to reset the author and keep the date.
The reason of shellcheck disable=SC2016 is 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 --rebase or commit reference or anything you like.
In some cases, I want to reset the author and keep the date.
The reason of
shellcheck disable=SC2016
is 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--rebase
or commit reference or anything you like.