git-extras icon indicating copy to clipboard operation
git-extras copied to clipboard

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

Open bodenr opened this issue 9 years ago • 1 comments

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

bodenr avatar Aug 23 '16 21:08 bodenr

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.

nicolaiskogheim avatar Sep 11 '16 14:09 nicolaiskogheim