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

Discussion: Add 'fresh' alias to support cleaning up local branches #573

Open
bodenr opened this issue Aug 23, 2016 · 1 comment
Open

Discussion: Add 'fresh' alias to support cleaning up local branches #573

bodenr opened this issue Aug 23, 2016 · 1 comment

Comments

@bodenr
Copy link

bodenr commented Aug 23, 2016

I'm currently maintaining a git alias I'm calling 'fresh' [1] that effectively cleans up local branches; optionally allowing you to specify a working branch to not delete. I find this useful when I have a number of branches I've checked out for code review and I want to zap them all and just get back the the latest master, or perhaps just back to my working branch.

Any interest in me porting this to git-extras?

[1] https://github.com/bodenr/openstack-git/blob/master/aliases/fresh

@nicolaiskogheim
Copy link
Collaborator

I was hoping you would get some feedback. I think it sounds useful, but I would like comments from others before deciding whether to take it in since we already have a lot of commands.

I guess we'll leave this open for some time and see.

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