check if one branch contains another branch
- From
Alexander Mills <alexander.d.mills@gmail.com>
- Date
- May 7, 2020, 22:59 UTC
- Message-ID
- <CA+KyZp7TELrswPjNgB99BXXHEXi5pRr5bO3g_wy7zBvv1R4Kww@mail.gmail.com>
I am looking for a command:
1> if branch x contains branch y
right now all I can find is
2> if current branch contains commit y
can someone please accomplish #1 ? Crazy hard to find an answer to #1 online. The user case is to delete old local branches by comparing them with the remote integration branch.
more info if needed: https://stackoverflow.com/questions/61669056/how-to-determine-if-integration-branch-contains-feature-branch
-alex
-- Alexander D. Mills New cell phone # (415)730-1805 linkedin.com/in/alexanderdmills