git-repair: repairs a damanged git repisitory

[ agpl, program, utility ] [ Propose Tags ]

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 [RSS] [faq] 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, 1.20200102, 1.20200504, 1.20210111, 1.20210629
Change log CHANGELOG
Dependencies async, attoparsec, base (>= && <5.0), bytestring, containers, data-default, deepseq, directory, exceptions (>=0.6), filepath, filepath-bytestring (>=, hslogger, IfElse, mtl, network (>=2.6), network-uri (>=2.6), optparse-applicative (>=0.14.1), process, QuickCheck, setenv, split, text, time, transformers, unix (>=2.7.2), unix-compat (>=0.5), utf8-string [details]
License AGPL-3.0-only
Copyright 2013 Joey Hess
Author Joey Hess
Maintainer Joey Hess <>
Category Utility
Home page
Source repo head: git clone git://
Uploaded by JoeyHess at 2020-01-02T16:44:51Z
Distributions Arch:1.20210629, Debian:1.20151215, Fedora:1.20210629, NixOS:1.20210629
Executables git-repair
Downloads 11886 total (22 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2020-01-02 [all 3 reports]


Maintainer's Corner

For package maintainers and hackage trustees