Quantcast
Channel: Code – Geek Rant dot org
Viewing all articles
Browse latest Browse all 12

Git: prune those old branches

$
0
0

TortoiseGit’s right-click sometimes appears to freeze.

It can be caused by too many old branches hanging around.

Here’s how to prune the ones that have been merged:

git branch --merged master |grep -v master | xargs git branch -d

Thanks to my colleague UA for finding that one.


Viewing all articles
Browse latest Browse all 12

Trending Articles