git-repair
repair various forms of damage to git repositories
Install
- All systems
-
curl cmd.cat/git-repair.sh
- Debian
-
apt-get install git-repair - Ubuntu
-
apt-get install git-repair - Arch Linux
-
pacman -S git-repair - Kali Linux
-
apt-get install git-repair - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install git-repair - Raspbian
-
apt-get install git-repair
git-repair
repair various forms of damage to git repositories
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.