Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

how did Git preserve the actual created-at date of the file? I was under the impression that it would log down the date at which you committed the file, but no the date at which the file was actually created.


git-commit lets you set any commit date you please.


you can set up GIT_AUTHOR_DATE and GIT_COMMITTER_DATE environment variables and make a commit object dated how you want for example.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: