An open API service indexing awesome lists of open source software.

https://github.com/danog/git-reset-repo

Bash script that resets all commits of a git repo
https://github.com/danog/git-reset-repo

Last synced: about 1 year ago
JSON representation

Bash script that resets all commits of a git repo

Awesome Lists containing this project

README

          

# 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.