Git: Show all remote branches that a faulty branch has been merged into -
i have faulty git branch (let's name branch-e) has been merged master. while i've had resolved, need know, there way list other branches in branch has been merged into?
i know can suspected branches 1 one:
git checkout branch-a git branch --merged branch-a -r
which shows branches merged branch-a. need know if there's way list remote branches affected erroneous branch-e. kind of other way around. take note i'm looking list of branches contain another branch, not particular commit. thank you.
found answer after using better wording on google search:
git branch --contains <branch name> -r
Comments
Post a Comment