Skip to content

Commit

Permalink
git-utimes: add page (#8729)
Browse files Browse the repository at this point in the history
  • Loading branch information
piraces authored Oct 8, 2022
1 parent a852512 commit 2174054
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pages/common/git-utimes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# git utimes

> Change files modification time to their last commit date. Does not touch files that are in the working tree or index.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-utimes>.
- Change all files modification time to their last commit date:

`git utimes`

- Change files modification time that are newer than their last commit date, preserving original modification time of files that were committed from the local repository:

`git utimes --newer`

0 comments on commit 2174054

Please sign in to comment.