Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Delete tracking branches which remote branches do not exist anymore.
branch: master
Failed to load latest commit information.
bin
lib Bump version number after PR #9
.gitignore Initial commit.
CHANGELOG.md Fix changelog links
Gemfile Initial commit.
README.md which => whose
Rakefile Initial commit.
git-branch-delete-orphans.gemspec Add rake to gemspec

README.md

git-branch-delete-orphans

git-branch-delete-orphans list all local-tracking branches which remote does not exist anymore and prompts you to delete them.

Install

gem install git-branch-delete-orphans

Usage

git-branch-delete-orphans

Sample output

Listing remote branches...
From git@git.versapay.com:eft3

The following branches track a remote branch whose does not exist anymore:
 - inbound_outbound_balances
 - 6956-refactor-login-for-checkout
 - 6141-set-timezone-to-PST
 - 7344-move-non-ar-models-to-services
 - 2676-refactor-emails
 - 7461-update-Gemfile

inbound_outbound_balances tracks a remote branch which does not exist anymore. Do you want to [d]elete it, [D]elete all, [k]eep it or [K]eep all?
d
Deleted branch inbound_outbound_balances (was 694bb37).

6956-refactor-login-for-checkout tracks a remote branch which does not exist anymore. Do you want to [d]elete it, [D]elete all, [k]eep it or [K]eep all?

License

MIT

Copyright

Copyright (c) 2011 VersaPay, Philippe Creux.

Something went wrong with that request. Please try again.