Files
30-seconds-of-code/snippets/git/s/view-merged-branches.md
2023-05-07 16:07:29 +03:00

449 B

title, type, language, tags, cover, dateModified
title type language tags cover dateModified
View merged branches snippet git
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