Files
30-seconds-of-code/snippets/view-merged-branches.md
2021-04-08 20:32:07 +03:00

364 B

title, tags
title tags
View merged branches repository,branch,intermediate

Prints a list of all merged local branches.

  • Use git branch -a --merged to display a list of all merged local branches.
  • Use arrow keys to navigate, press Q to exit.
git branch -a --merged
git checkout master
git branch -a --merged
# patch-1
# patch-2