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
- Host: GitHub
- URL: https://github.com/danog/git-reset-repo
- Owner: danog
- License: gpl-3.0
- Created: 2016-05-11T11:37:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-18T13:29:14.000Z (about 10 years ago)
- Last Synced: 2025-01-12T20:13:05.015Z (over 1 year ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.