The git-repair package

[Tags:gpl, program]

git-repair can repair various forms of damage to git repositories.

It is a complement to git fsck, which finds problems, but does not fix them.

As well as avoiding the need to rm -rf a damaged repository and re-clone, using git-repair can help rescue commits you've made to the damaged repository and not yet pushed out.


Versions 1.20131118, 1.20131122, 1.20131203, 1.20131213, 1.20140115, 1.20140227, 1.20140914, 1.20141026, 1.20141027, 1.20150106, 1.20151215
Change log CHANGELOG
Dependencies async, base (>=4.5 && <5), bytestring, containers, directory, exceptions (>=0.6), filepath, hslogger, IfElse, MissingH, mtl, network (>=2.0), network-uri (>=2.6), optparse-applicative (>=0.10.0), process, QuickCheck, setenv, text, time, transformers, unix, unix-compat, utf8-string [details]
License GPL
Copyright 2013 Joey Hess
Author Joey Hess
Maintainer Joey Hess <>
Stability Stable
Category Utility
Home page
Source repository head: git clone git://
Uploaded Wed Dec 16 00:53:52 UTC 2015 by JoeyHess
Distributions Debian:1.20151215, NixOS:1.20151215
Downloads 2048 total (24 in the last 30 days)
1 []
Status Docs not available [build log]
Last success reported on 2015-12-16 [all 1 reports]


network-uriGet Network.URI from the network-uri packageEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees