Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pruning old branches #18

Closed
dotwaffle opened this issue Jun 23, 2015 · 2 comments
Closed

Pruning old branches #18

dotwaffle opened this issue Jun 23, 2015 · 2 comments

Comments

@dotwaffle
Copy link

Quite often I'm in a situation where people create a lot of branches in the main repo and open a pull-request. Later on, those branches get deleted.

At the moment, I have to do "git remote update --prune" every time the number of branches no longer on the remote but not tracked locally gets out of hand. Is there any scope to add this into a normal "gitup" run too?

@earwig
Copy link
Owner

earwig commented Jun 23, 2015

It looks like there's a configuration option you can set in git to get this behavior by default: git/git@737c5a9.

Either way, sounds like a good idea to add it here too. I added a --prune/-p flag to get this behavior.

@earwig earwig closed this as completed in ae8e441 Jun 23, 2015
@dotwaffle
Copy link
Author

Much obliged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants