Created
July 12, 2024 03:43
-
-
Save shirakaba/1938a615bf550f8cd8eb94e398643a76 to your computer and use it in GitHub Desktop.
Revisions
-
shirakaba created this gist
Jul 12, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ ```sh # Interactively rebase the current branch onto `main` git rebase -i main ``` Modify the commit dates of `first commit` and `second commit` but leave `third commit` unchanged. ``` pick c40f82d first commit exec git commit --amend --no-edit --date "Wed Jul 10 08:30:00 2024 +0900" pick 09604ec second commit exec git commit --amend --no-edit --date "Wed Jul 10 08:45:00 2024 +0900" pick d624b4e third commit ```