merge-base

Checking if branch has already been merged into master or dev branches on remote

喜你入骨 提交于 2019-12-14 02:14:34
问题 What I am trying to do is ensure that I can delete local branches safely. I found some great answers to this question here: How can I know in git if a branch has been already merged into master? So we have the source branch and the destination branch. The source branch is the one that may or may not be completely merged into the destination branch already. The problem with the answers in the above link, is that the answers don't seem to work if the destination branch has new commits after