mirror of
https://github.com/danog/git-reset-repo.git
synced 2024-11-29 20:09:01 +01:00
572 B
572 B
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.