Comments (6)
This isn't a global cleanup tool its more like hooks based off
notifications I think this is out of scope
On Sunday, September 4, 2016, Viktor Stanchev [email protected]
wrote:
I have a lot of ancient merged branches in basically all my repos because
I never bothered to delete them. It looks like this tool follows the
notification stream, but doesn't actually go and clean up old branches. It
would be great if it could do that as well.I suspect that it would require a much larger number of API calls, so
maybe it should be optionally enabled by a flag.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#3, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYNbJiyOj54FgX--urkeYJ_UlrNNAq0ks5qmvWQgaJpZM4J0k1W
.
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
from ghb0t.
I found a very easy way to do it for once for a single repo:
git branch --merged | egrep -v "(^\*|master)" | xargs -I+ git push --delete origin +
git branch --merged | egrep -v "(^\*|master)" | xargs -I+ git branch -d +
I found this idea here: http://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged
That mostly solves my problem for now and I can use ghb0t to keep my repo clean in the future.
from ghb0t.
Sorry thanks glad you found a work around!
On Sunday, September 4, 2016, Viktor Stanchev [email protected]
wrote:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABYNbMrKcWWJvENVFTiavH0fVwH8MnIgks5qmv1xgaJpZM4J0k1W
.
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
from ghb0t.
If you have other ideas of things to run on each notification I was
thinking about turning this into more of a DSL of hooks to run on events
On Monday, September 5, 2016, Jessica Frazelle [email protected] wrote:
Sorry thanks glad you found a work around!
On Sunday, September 4, 2016, Viktor Stanchev <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABYNbMrKcWWJvENVFTiavH0fVwH8MnIgks5qmv1xgaJpZM4J0k1W
.Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
from ghb0t.
Hmm. Yeah, that would be cool. I already have a bot watching github and Jenkins for updating an led strip. https://github.com/vikstrous/blinkythingy
It's somewhat ambitiously named and not documented, but I thought you might be interested because it's a very similar sort of thing.
On September 5, 2016 5:13:00 PM EDT, Jess Frazelle [email protected] wrote:
If you have other ideas of things to run on each notification I was
thinking about turning this into more of a DSL of hooks to run on
eventsOn Monday, September 5, 2016, Jessica Frazelle [email protected] wrote:
Sorry thanks glad you found a work around!
On Sunday, September 4, 2016, Viktor Stanchev
<[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3 (comment), or
mute
the threadJessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#3 (comment)
Sent from my Android device with K-9 Mail. Please excuse my brevity.
from ghb0t.
Oh cool! The name is awesome haha
On Monday, September 5, 2016, Viktor Stanchev [email protected]
wrote:
Hmm. Yeah, that would be cool. I already have a bot watching github and
Jenkins for updating an led strip. https://github.com/vikstrous/
blinkythingy
It's somewhat ambitiously named and not documented, but I thought you
might be interested because it's a very similar sort of thing.On September 5, 2016 5:13:00 PM EDT, Jess Frazelle <
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:If you have other ideas of things to run on each notification I was
thinking about turning this into more of a DSL of hooks to run on
eventsOn Monday, September 5, 2016, Jessica Frazelle <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:Sorry thanks glad you found a work around!
On Sunday, September 4, 2016, Viktor Stanchev
<[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');>> wrote:—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3 (comment), or
mute
the thread<https://github.com/notifications/unsubscribe-auth/
ABYNbMrKcWWJvENVFTiavH0fVwH8MnIgks5qmv1xgaJpZM4J0k1W>
.Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#3 (comment)Sent from my Android device with K-9 Mail. Please excuse my brevity.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABYNbNehnXua4thF9rnlGqI2RmbKSC3rks5qnIbEgaJpZM4J0k1W
.
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
from ghb0t.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghb0t.