When we performed a "git add" the date of file was changed to current date.
Asked
Active
Viewed 27 times
0
-
Possible duplicate of [Checking out old file WITH original create/modified timestamps](http://stackoverflow.com/questions/2179722/checking-out-old-file-with-original-create-modified-timestamps) – sleske Feb 22 '16 at 21:07
1 Answers
1
git
does not track time stamps and it does not change your file timesatmp when you add it to the stage area.
Here is a live demo to show you that git does not care about dates. git only track content and in some cases file mode (chmod)

CodeWizard
- 128,036
- 21
- 144
- 167