Set or Change Git Commit Time or History
git commit --date="3 hour ago" -m "Your commit message"
git commit --date="10 day ago" -m "Your commit message"
Sources
- command line arguments - What is the format for --date parameter of git commit - Stack Overflow
- How can one change the timestamp of an old commit in Git? - Stack Overflow
- bash - How to set current date as git commit message - Stack Overflow