Skip to content

Instantly share code, notes, and snippets.

@PradyumnaKrishna
PradyumnaKrishna / Commit Date.md
Last active September 25, 2025 11:32
Change Git Commit Date

Change Git Commit Date

  • Commit your git using

    git add -A
    git commit -m "commit message"
    
  • Change time or date of your latest commit

GIT_COMMITTER_DATE="Wed Sep 9 22:00 2020 +0530" git commit --amend --date="Wed Sep 9 22:00 2020 +0530"