I have many branches, some of which are remnants of pull requests, others are temporary local branches.
How do I list all the branches that dangle, i.e. are leafs in the git tree?
Here is an illustration of what I want, yet the solutions below do not give:
B
/ \
A-C-D
\
E-F
With this branch layout I want a list like:
- D
- F
These questions do not answer my problem, yet some come close: