How to Install and Uninstall git-restore-mtime Package on Kali Linux

Last updated: November 06,2024

1. Install "git-restore-mtime" package

Here is a brief guide to show you how to install git-restore-mtime on Kali Linux

$ sudo apt update $ sudo apt install git-restore-mtime

2. Uninstall "git-restore-mtime" package

Please follow the instructions below to uninstall git-restore-mtime on Kali Linux:

$ sudo apt remove git-restore-mtime $ sudo apt autoclean && sudo apt autoremove

3. Information about the git-restore-mtime package on Kali Linux

Package: git-restore-mtime
Source: git-mestrelion-tools
Version: 2022.12-1
Installed-Size: 59
Maintainer: Adam Borowski
Architecture: all
Depends: python3:any, git
Size: 19992
SHA256: 99c127f93b43fc514c2e3a8ebdf8a16100ef5e7bf111441876f681dcc416825e
SHA1: c710ae0c2712c6e3e67e031960e3277a6fb3229a
MD5sum: aa088d09e8e638a8d8fed7fbb930cd8d
Description: 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:
Multi-Arch: foreign
Homepage: https://github.com/MestreLion/git-tools
Tag: devel::rcs, implemented-in::python, implemented-in::shell,
role::program, works-with::vcs
Section: vcs
Priority: optional
Filename: pool/main/g/git-mestrelion-tools/git-restore-mtime_2022.12-1_all.deb