https://github.com/ei-grad/restore_commit_times
Restore files mtime from Git commits, useful to get a hashsum based on mtime and size for files in git repository
https://github.com/ei-grad/restore_commit_times
git mtime
Last synced: about 1 month ago
JSON representation
Restore files mtime from Git commits, useful to get a hashsum based on mtime and size for files in git repository
- Host: GitHub
- URL: https://github.com/ei-grad/restore_commit_times
- Owner: ei-grad
- License: gpl-3.0
- Created: 2016-01-25T22:32:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T23:21:13.000Z (over 7 years ago)
- Last Synced: 2025-02-14T07:48:56.200Z (over 1 year ago)
- Topics: git, mtime
- Language: Python
- Homepage: https://github.com/ei-grad/restore_commit_times
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Restore commit times
====================
For each file in given Git repositories set its mtime to time of the last
commit, in which that file was changed.
Installation
------------
.. code-block::
pip install restore_commit_times
Usage
-----
.. code-block::
restore_commit_times ./myrepo1 ./myrepo2