Go to file
2016-07-18 15:29:03 +02:00
.gitignore First commit (master) 2016-07-18 15:29:03 +02:00
git-reset-repo First commit (master) 2016-07-18 15:29:03 +02:00
LICENSE First commit (master) 2016-07-18 15:29:03 +02:00
README.md First commit (master) 2016-07-18 15:29:03 +02:00

git-reset-repo

Licensed under GPLv3. Copright 2016 Daniil Gentili.

Bash script that resets all commits of a git repo. Useful to reduce a repository's size.

Installation:
Run the following command as root:

wget -O /usr/bin/git-reset-repo https://raw.githubusercontent.com/danog/git-reset-repo/master/git-reset-repo || curl -o /usr/bin/git-reset-repo https://raw.githubusercontent.com/danog/git-reset-repo/master/git-reset-repo && chmod +x /usr/bin/git-reset-repo

Then simply run git reset-repo in your git repository and follow instructions.