What is the purpose of the GIT_AUTHOR_DATE vs GIT_COMMITTER_DATE environment variables?

Git Hard

Git — Hard

What is the purpose of the GIT_AUTHOR_DATE vs GIT_COMMITTER_DATE environment variables?

Key points

  • Author date preserves the original change timestamp
  • Committer date updates with repository additions
  • Cherry-picking and rebasing affect committer dates
  • Both dates are tracked per commit

Ready to go further?

Related questions