git fetch --all --prune
to garbage collect any detached branches.git fetch --all --prune
git checkout master git branch # master # patch-1 # patch-2 # Assuming `patch-1` is detached git fetch --all --prune git branch # master # patch-2
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️