I wanted to start working on ‘feature a’, so I created a new branch git checkout -b feature-a. When the feature was finished and working correctly, I merged it in master git checkout master; git merge feature-a.
The problem is that now git branch still shows ‘feature-a’, which I don’t want beacause I think this will soon become a mess, the list will bee too long.
Is there a way to remove it from the list? Should I do that?
You can delete the unwanted local branch with
git branch -d feature-aPreferable to delete unwanted local branches to avoid clutter.