Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/debitoor/git-prune
Prune old git branches on origin
https://github.com/debitoor/git-prune
Last synced: 12 days ago
JSON representation
Prune old git branches on origin
- Host: GitHub
- URL: https://github.com/debitoor/git-prune
- Owner: debitoor
- Created: 2015-04-12T15:13:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-12T15:18:54.000Z (over 9 years ago)
- Last Synced: 2024-10-05T03:49:34.955Z (about 1 month ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 45
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-prune
Prune ready branches and old branches on remote repository (origin)
npm install -g git-prune
## Usage
```shell
git-prune
```Any branch in the `ready/*` pattern will be deleted from `origin` if it's more than 1 day old.
Any other branch, except `master`, will be deleted fro `origin` if it's more than 30 days old.
No local branches will be deleted.
## License
[MIT](http://opensource.org/licenses/MIT)