set files mtime by latest commit time.
for Dockerfile building on CI servers(docker checking mtime for build cache)
Install by rubygems:
$ gem install git-set-mtime
Install by golang: $ go get github.com/rosylilly/git-set-mtime
Install from binary:
You can download pre-build binaries from drone.io(Windows, Mac and Linux).
$ git set-mtime
- Fork it ( https://github.com/rosylilly/git-set-mtime/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request