0 votes
in DevOps by
How can we know if a branch in Git has been merged into master?

2 Answers

0 votes
by
By using either the git branch -merged OR git branch -no-merged command.

The former displays all the branches which have been merged with the current

branch, while the latter displays the branches which haven’t been merged yet.
0 votes
by

Git branch –merged master – shows all branches that are merged into master

Git branch – merged – shows all branches that are merged into the head

Git branch – no-merged –shows all the branches that are not merged

Related questions

0 votes
asked Aug 24, 2023 in Git by JackTerrance
0 votes
asked Dec 11, 2021 in Microsoft Azure Administrator by Robindeniel
...