> From: John McKown <john.archie.mck...@gmail.com>

> commit -m 'myfile as of <date from filename>'

The manual page for git-commit says:

           Override the author date used in the commit.

       The GIT_AUTHOR_DATE, GIT_COMMITTER_DATE environment variables and the
       --date option support the following date formats:

There seems to be an "author date" and a "commit date" in Git commits,
so it looks like you can set the "author date" to be the date the
original file was saved and still record the date you created the Git
commit as the "commit date".


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to