Discussion: Add 'fresh' alias to support cleaning up local branches
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 18.1k
- Forks
- 1.2k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 1
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced aliases/fresh file in openstack-git, then inspect git-extras' existing command entry points and conventions. Clarify how local branch cleanup and an optional branch to preserve should work; done means the proposed fresh utility is integrated with the project's expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100