4 ms·
why not just set `git config fetch.prune true`?
by nhumrich 6y ago
why not just set `git config fetch.prune true`?
- brown9-2 6y agoI don’t think this detects a branch that can be deleted after a squash merge to master
- nhumrich 6y agoas long as the remote branch is deleted it does. Both github and gitlab can delete branch on merge
- spyc 6y ago`git fetch --prune` only deletes remote-tracking branches (`refs/remotes/<remote>/<branch>`) but not local tracking branches (`refs/heads/<branch>`).