4

Update local removed git branches
You can update the removed branches on your local machine by
git fetch --prune --all

Comments
  • 1
    I don’t really get it?
  • 3
    @devTea when you delete the remote git branches they still appear locally you run
    git branch
    to check

    To sync with remote you can use this command

    git fetch --prune --all

    to remove those branches locally
  • 0
    @farhanyaseen I'll be honest, git fetch being able to change local branches is a bit confusing...

    very good tip tho
Add Comment