You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using git clone recreates the files locally, and the OS sees this as the "create" date
Normally, this would be fine assuming the deployment wasn't moved and was never re-cloned. However, if multiple deployments are used, there will be a mismatch in "Last updated" date timestamps.
Does anyone know if there is an easy way to base file modification dates on the git history instead of the file system?
The text was updated successfully, but these errors were encountered:
I don't think it is possible with pure git, see http://stackoverflow.com/questions/1964470/whats-the-equivalent-of-use-commit-times-for-git for more information. In general I (personally) wouldn't want to change modification dates of files, but I could accept say the vcs storing the last modification dates (and/or other metadata) of the files, and applying that for me automatically after I give an option to a clone. But as you can see in that link, git does not provide this.
Of course, you could come up with your own non-git solution or find someone else's solution (like in that thread).
Using
git clone
recreates the files locally, and the OS sees this as the "create" dateNormally, this would be fine assuming the deployment wasn't moved and was never re-cloned. However, if multiple deployments are used, there will be a mismatch in "Last updated" date timestamps.
Does anyone know if there is an easy way to base file modification dates on the git history instead of the file system?
The text was updated successfully, but these errors were encountered: