Delete merged local git branch & tag in one command

Shell

git branch --merged | xargs git branch -d
git tag --merged | xargs git tag -d

PowerShell

git branch --merged | %{git branch -d $_.trim()}
git tag --merged | %{git tag -d $_.trim()}

--

--

Ittipol Thirasat

เจเนอรัลเบ๊ผู้เชื่อว่าโลกขับเคลื่อนด้วยความขี้เกียจของมนุษยชาติ