Files
30-seconds-of-code/snippets/view-merged-branches.md
Isabelle Viktoria Maciohsek 6507e3b2a8 Add fetch and view merged
2021-04-08 19:43:13 +03:00

360 B

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

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