The "created" date is lost after I push my files to git. When I clone my repository the "created" date is the current date. Is that normal?
CodePudding user response:
When you clone a repository, Git does not check files out using the original time specified in your commits. Instead, it creates the files as normal, using the current time.
This is in fact normal, and it also has the nice benefit of working properly with Make, which uses the file time to determine whether a file is in need of being rebuilt. Since Git always uses the current time, and files Git has checked out will be considered as changed, and Make will build any products that depend on them.
CodePudding user response:
This is the result of a new bug in github.com, the bug is under review about company, more about it here-https://github.com/bugs