mloughran / git-cleanup Goto Github PK
View Code? Open in Web Editor NEWCommand line tool to help you clean up old git branches
License: MIT License
Command line tool to help you clean up old git branches
License: MIT License
Hi, I keep getting this error when running cleaning out my branches.
/Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:273:in `rescue in sh': Grit::Git::GitTimeout (Grit::Git::GitTimeout)
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:252:in `sh'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:245:in `run'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:221:in `method_missing'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:228:in `native'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup/branch.rb:22:in `diff'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:30:in `block in run'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:25:in `each'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:25:in `each_with_index'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:25:in `run'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/bin/git-cleanup:38:in `<top (required)>'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/git-cleanup:19:in `load'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/git-cleanup:19:in `<main>'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `<main>'
Got this in ruby-1.8.7-p371 and ruby-1.9.3-p374. I am running a Mac 10.8.2 mountain lion, and Ruby Version Manager.
would be great if you could add tag cleanups also
I'm getting this error when running git-cleanup v0.2.2. I'm using ruby 2.1.0.
gems/grit-2.2.0/lib/grit/git-ruby/internal/loose.rb:108:in `unpack_object_header_gently': undefined method `>>' for "x":String (NoMethodError)
I'm working in a cafe right now and the default 10 seconds is simply too small. Please make it configurable via a commandline option or env var.
Currently, you get something like this:
Branch origin/feature-x (6/37)
---------------------------
Branch not merged. Commits on branch:
...
[QUESTION] Branch not merged. Do you want to see a diff? (y/n)
The problem is that that ...
of commits can be really long, so I end up having to scroll up to see what the branch name is to answer the question. It would be a lot easier if the branch name was repeated in the question. Another possibility would be to not show all the commits or make it optional.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.