Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tomphoolery
on Dec 21, 2014
|
parent
|
context
|
favorite
| on:
“Committed on 22 May 1981”
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.
djur
on Dec 21, 2014
|
next
[–]
git-commit lets you set any commit date you please.
viccuad
on Dec 22, 2014
|
prev
[–]
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: