Skip to content
This repository

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.

tag: v0.0.5

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore Initial commit. October 17, 2011
Octocat-spinner-32 CHANGELOG.md
Octocat-spinner-32 Gemfile Initial commit. October 17, 2011
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile Initial commit. October 17, 2011
Octocat-spinner-32 git-branch-delete-orphans.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 which 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.