Skip to content

Instantly share code, notes, and snippets.

@ytakashina
Last active April 28, 2021 06:48
Show Gist options
  • Select an option

  • Save ytakashina/a33c12876ab626eff0c8370af57789f3 to your computer and use it in GitHub Desktop.

Select an option

Save ytakashina/a33c12876ab626eff0c8370af57789f3 to your computer and use it in GitHub Desktop.

Revisions

  1. ytakashina renamed this gist Apr 28, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. ytakashina created this gist Apr 28, 2021.
    1 change: 1 addition & 0 deletions remove_merged_branch.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    git branch --merged| grep -vE "(^\*|master|main|dev)" | xargs git branch -d