> From: John McKown <[email protected]>
> commit -m 'myfile as of <date from filename>'
The manual page for git-commit says:
--date=<date>
Override the author date used in the commit.
DATE FORMATS
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".
Dale
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.