Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 214 Bytes

remove_local_branches.md

File metadata and controls

8 lines (6 loc) · 214 Bytes

How to delete all local branches which has been deleted on the remote

 git fetch --prune
  • fetch - fetch all remote changes
  • --prune - delete local branches that are no longer exists on the remote