Last active
May 4, 2020 08:19
-
-
Save ross-humphrey/db01dd609d9f01c6f864004dd0fefe63 to your computer and use it in GitHub Desktop.
π Links to helpful GIT command resources
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 characters
Change the author information on historic git commits | |
> https://help.github.com/en/articles/changing-author-info | |
Change the commit date on historic git commits | |
> https://stackoverflow.com/questions/21112557/is-possible-change-the-commit-date-on-git?noredirect=1&lq=1 | |
Change the date of most recent commit (before pushing) | |
GIT_COMMITTER_DATE="Mon 25 Nov 2019 20:19:19 GMT" git commit --amend --no-edit --date "Mon 25 Nov 2019 20:19:19 GMT" | |
Create New branch and checkout | |
git checkout -b <insert_name_of_branch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment