Files
30-seconds-of-code/git/snippets/view-merged-branches.md
2023-05-01 22:28:09 +03:00

435 B

title, type, tags, cover, dateModified
title type tags cover dateModified
View merged branches snippet
repository
branch
cobbled-street 2021-04-13T21:10:59+03:00

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