Skip to content

Instantly share code, notes, and snippets.

@MohammadxAli
Last active June 15, 2022 08:18
Show Gist options
  • Save MohammadxAli/0c469c363af0dad64a09a6eb55596fe4 to your computer and use it in GitHub Desktop.
Save MohammadxAli/0c469c363af0dad64a09a6eb55596fe4 to your computer and use it in GitHub Desktop.
GIT_COMMITTER_DATE="DATE_HERE" git commit --amend --no-edit --date "DATE_HERE"
Iran date format: Mon 20 Aug 2022 20:00:00 IRDT
British date format: Mon 20 Aug 2022 20:00:00 BST
Example:
GIT_COMMITTER_DATE="Mon 20 Aug 2022 20:00:00 IRDT" git commit --amend --no-edit --date "Mon 20 Aug 2022 20:00:00 IRDT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment