Ask HN: How do you organize your git branches?
I frequently have several branches that I've yet to merge into master. I've been been keeping track of them in the form of a list of branch names in a text file. As I merge them in to master, I remove them from the list. Is there a better way?
5 comments
[ 3.2 ms ] story [ 28.3 ms ] threadI rebase feature branches against master before merging them, so they are always a fast-forward merge. Then there's no reason at all to keep them around after the merge, so they go away. Same with the bug branches.
Do you know about "git branch"? It gives you a list of branches. What are you storing in your text file in addition to this list?