Cleaning up the branches

Anthony Vanelverdinghe anthonyv.be at outlook.com
Fri Apr 24 05:52:58 UTC 2020


An alternative would be to tag dead branches, and remove the branch 
altogether:
- doing `git branch` would only list active branches
- keeping the `zzz` convention for tags, doing `git tag -l zzz*` would 
list dead ends
- most importantly, I think: you'd be able to add any useful information 
(about why it's dead etc.) directly in the tag

Kind regards, Anthony

On 23/04/2020 17:15, Brian Goetz wrote:
>
>>
>>  - When a branch becomes (or is recognized to be) dead, let's rename 
>> it to something that makes that clear, such as `dead-x` where `x` is 
>> the old name.  (IF `dead` started with `z`, that would be better, as 
>> they would all sort to the bottom.)  This is an action that can be 
>> done by any committer, so we can all help keep the workshop clean.
>
> Vicente suggested to me that we use `zzz`, to denote a "sleeping" 
> branch -- I like that idea.  This is a simple trick that will go a 
> long way.
>
>


More information about the amber-dev mailing list