githubteacher / githubfordevelopers-april

GitHub for Developers Training
4 stars 11 forks source link

What happen with the local readme-update branch? #139

Closed gallelloit closed 7 years ago

gallelloit commented 7 years ago

How is it deleted now it was deleted in the server?

gallelloit commented 7 years ago

(I thought that a git pull would do it, but it didn't)

brianamarie commented 7 years ago

@pgbonino Great question!

It was deleted on the remote, but not locally. This doesn't happen automatically with pull. You can use git pull --prune or git fetch --prune to delete the remote tracking branches, and git branch -d <branchname> to delete the local working branch. (You'll have to be checked out to a different branch, it won't let you delete a branch while you're on it.)

Does this answer your question?

gallelloit commented 7 years ago

Yeah!! He just said it too :) I didn't notice I had to do it manually

Thank you