Skip to content

Instantly share code, notes, and snippets.

@RitterNorbert
Last active October 2, 2018 13:24
Show Gist options
  • Save RitterNorbert/aed88f76dbc8227bcb5312982a4fab83 to your computer and use it in GitHub Desktop.
Save RitterNorbert/aed88f76dbc8227bcb5312982a4fab83 to your computer and use it in GitHub Desktop.
list merged remote branches
git branch -r --merged development |
grep origin |
grep -v development |
grep -v master |
sed -E "s|^ *origin/||" |
grep -w "NR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment