git-repair: repairs a damanged git repisitory

[ program, utility ] [ Propose Tags ]
Versions 1.20131118, 1.20131122, 1.20131203, 1.20131213, 1.20140115, 1.20140227, 1.20140914, 1.20141026, 1.20141027, 1.20150106, 1.20151215, 1.20161111, 1.20161118, 1.20170626
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 LicenseRef-GPL
Copyright 2013 Joey Hess
Author Joey Hess
Maintainer Joey Hess <>
Category Utility
Home page
Source repo head: git clone git://
Uploaded by JoeyHess at Fri Nov 18 17:00:26 UTC 2016
Distributions Arch:1.20170626, Debian:1.20151215, NixOS:1.20170626
Executables git-repair
Downloads 4478 total (63 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-11-18 [all 3 reports]
Hackage Matrix CI

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.



Get Network.URI from the network-uri package


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