Shared publicly  - 
 
<code>
cd my_git_managed_dir
ls -la ;# all my files are listed with correct time stamps
rm -rf * ;# this will not delete .git, just everything else (I have no other .dot files)
git reset --hard
ls -la ;# all my files are listed with current time stamps, which is not what I wanted :(
</code>

Am I doing something wrong? Or is it really possible that git is so stupid it does not save file time stamps? The only explanation I could find was a thread from 2007, which talks about "make" and doesn't really explain anything. So annoying, I was just starting to like git :-(

Edited - adding #helpme tag. Also, is there a mailing list I can use to ask this question?

#git
1
Lars Dɪᴇᴄᴋᴏᴡ's profile photoOffer Kaye's profile photo
 
If I have a file from 2005 and I put it under git, I want to continue knowing it is from 2005. Not have the date changed to 2012 just because I did a "git checkout <some other branch>" and later "git checkout master".
Add a comment...