Posted inGit
Clean Up Stale Remote-Tracking Branches with git remote prune and git fetch –prune
Dozens of stale remote-tracking branches clutter your terminal and make checking out branches error-prone. Here is a guide on using git remote prune, git fetch --prune, and configuring Git to auto-prune permanently.