Skip to content

Instantly share code, notes, and snippets.

@fuweid
Last active September 28, 2016 07:29
Show Gist options
  • Save fuweid/e1cba532d149572f56c1c548263d3310 to your computer and use it in GitHub Desktop.
Save fuweid/e1cba532d149572f56c1c548263d3310 to your computer and use it in GitHub Desktop.
Filter Git Branch
git branch --list \
| cut -c 3- \
| sed 's/\(dev\)//g' \
| xargs -n 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment