How to Install and Uninstall git-restore-mtime Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: May 14,2024
1. Install "git-restore-mtime" package
Learn how to install git-restore-mtime on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
git-restore-mtime
Copied
2. Uninstall "git-restore-mtime" package
Learn how to uninstall git-restore-mtime on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
git-restore-mtime
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the git-restore-mtime package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: git-restore-mtime
Priority: optional
Section: universe/vcs
Installed-Size: 49
Maintainer: Ubuntu Developers
Original-Maintainer: Adam Borowski
Architecture: all
Source: git-mestrelion-tools
Version: 1.0.3-1
Depends: python, git
Filename: pool/universe/g/git-mestrelion-tools/git-restore-mtime_1.0.3-1_all.deb
Size: 15430
MD5sum: d5a3ef1365591b0967382f38ea0e3bc3
SHA1: 1d934e6f571f6fec4ba707b1de02ad0070c91c10
SHA256: 35d603ca92f462ef5b08e05f32372e6e4210d3a0020b550262200990a28e5d2e
Description-en: set timestamps to the date of a file's last commit
This utility can set timestamps in a git checkout to the last commit that
changes a given file. This is useful whenever meaningful mtimes are wanted,
as "last change" is better than "last checkout". Use cases include syncing
timestamps on a web server's contents, preparing a release tarball, etc.
Pretty much, every scenario other than an unclean source tree where you're
about to type "make" without "make clean".
.
When called from a .git/hooks/post-checkout trigger, this is the equivalent
of Subversion's "use-commit-times".
.
Unlike metastore, git restore-mtime gives you only commit times rather than
the true original timestamp; on the other hand it works retroactively and
doesn't require a manual action by every contributor in every working copy.
.
This package includes three other utilities:
* git clone-subset - clones only some files from a repository (inc. history)
* git find-uncommitted-repos - recursively searches for unclean git repos
* git strip-merge - filters away some files during a merge
Description-md5: b92d869a86b63cc4017d219aa4e8341f
Homepage: https://github.com/MestreLion/git-tools
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/vcs
Installed-Size: 49
Maintainer: Ubuntu Developers
Original-Maintainer: Adam Borowski
Architecture: all
Source: git-mestrelion-tools
Version: 1.0.3-1
Depends: python, git
Filename: pool/universe/g/git-mestrelion-tools/git-restore-mtime_1.0.3-1_all.deb
Size: 15430
MD5sum: d5a3ef1365591b0967382f38ea0e3bc3
SHA1: 1d934e6f571f6fec4ba707b1de02ad0070c91c10
SHA256: 35d603ca92f462ef5b08e05f32372e6e4210d3a0020b550262200990a28e5d2e
Description-en: set timestamps to the date of a file's last commit
This utility can set timestamps in a git checkout to the last commit that
changes a given file. This is useful whenever meaningful mtimes are wanted,
as "last change" is better than "last checkout". Use cases include syncing
timestamps on a web server's contents, preparing a release tarball, etc.
Pretty much, every scenario other than an unclean source tree where you're
about to type "make" without "make clean".
.
When called from a .git/hooks/post-checkout trigger, this is the equivalent
of Subversion's "use-commit-times".
.
Unlike metastore, git restore-mtime gives you only commit times rather than
the true original timestamp; on the other hand it works retroactively and
doesn't require a manual action by every contributor in every working copy.
.
This package includes three other utilities:
* git clone-subset - clones only some files from a repository (inc. history)
* git find-uncommitted-repos - recursively searches for unclean git repos
* git strip-merge - filters away some files during a merge
Description-md5: b92d869a86b63cc4017d219aa4e8341f
Homepage: https://github.com/MestreLion/git-tools
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu