OnWorks favicon

git-restore-mtime - Online in the Cloud

Run git-restore-mtime in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-restore-mtime that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



git-restore-mtime - Restore original modification time of files based on the date of the
most recent commit that modified them


git-restore-mtime [-h] [--quiet] [--verbose] [--force] [--merge]
[--skip-missing] [--no-directories] [--test] [--commit-time]
[--work-tree WORKDIR] [--git-dir GITDIR]
[pathspec [pathspec...]]


Restore original modification time of files based on the date of the most recent commit
that modified them. Useful when generating release tarballs.


Positional arguments:
only modify paths (dirs or files) matching PATHSPEC, relative to current
directory. Default is to modify all non-ignored, tracked files.

Optional arguments:
-h, --help
show help message and exit

suppress informative messages and summary statistics.

print additional information for each processed file. Overwrites --quiet.

force execution on trees with uncommitted changes.

include merge commits. Leads to more recent mtimes and more files per commit, thus
with the same mtime (which may or may not be what you want). Including merge
commits may lead to less commits being evaluated (all files are found sooner),
which improves performance, sometimes substantially. But since merge commits are
usually huge, processing them may also take longer, sometimes substantially. By
default merge logs are only used for files missing from regular commit logs.

do not try to find missing files. If some files were not found in regular commit
logs, by default it retries using merge commit logs for these files (if --merge
was not used already). This option disables this behavior, which may slightly
improve performance, but files found only in merge commits will not be updated.

do not update directory mtime for files created, renamed or deleted in it. Note:
just modifying a file will not update its directory mtime.

test run: do not actually update any file

use commit time instead of author time

--work-tree WORKDIR
specify where the work tree is. Default for most repositories is current

--git-dir GITDIR
specify where the git repository is. Default for most repositories <work-

Use git-restore-mtime online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 2
    Vuls is open-source, agent-less
    vulnerability scanner based on
    information from NVD, OVAL, etc. Vuls
    uses multiple vulnerability databases
    Download Vuls
  • 3
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 4
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 5
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    Download AstrOrzPlayer
  • 6
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 7
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    Download Code::Blocks
  • More »

Linux commands