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
Every time someone clones other's repo, the last modified time of each file and directory is overwritten with the time of clone. However, in some cases, we need to know the original time infomation, such as in a blog static site.
There are ways to fix this.
For example, run git ls-files -z | while read -d '' path; do touch -d $(git log -1 --format="@%ct" "$path") "$path"; done in the workflow file.
But, can you integrate this feature inside actions/checkout and provide a config option like "origin-mtime"?
The text was updated successfully, but these errors were encountered:
Every time someone clones other's repo, the last modified time of each file and directory is overwritten with the time of clone.
However, in some cases, we need to know the original time infomation, such as in a blog static site.
There are ways to fix this.
For example, run
git ls-files -z | while read -d '' path; do touch -d $(git log -1 --format="@%ct" "$path") "$path"; done
in the workflow file.But, can you integrate this feature inside actions/checkout and provide a config option like "origin-mtime"?
The text was updated successfully, but these errors were encountered: