Roland's homepage

My random knot in the Web


This scripts looks for all directories in the users’ home directory that are managed by the git revision control system (i.e. that have a .git subdirectory).

For each of those directories it checks whether there are uncommitted changes by running git status. If there aren’t any, it runs git gc using the --auto option, to cleanup and optimize the repository.

The script can be found on github. It requires python (version 3) and git.

python (version 3), git

←  make-flac dicom2png  →