How do I delete a Git branch locally and remotely?Failed Attempts to Delete a Remote Branch:

How do I delete a Git branch locally and remotely?

$ git branch -d remotes/origin/bugfix error: branch ‘remotes/origin/bugfix’ not found. $ git branch -d origin/bugfix error: branch ‘origin/bugfix’ not found. $ git branch -rd origin/bugfix Deleted remote branch origin/bugfix (was 2a14ef7). $ git push Everything up-to-date $ git pull From github.com:gituser/gitproject * [new branch] bugfix -> origin/bugfix Already up-to-date

Comments

Popular posts from this blog

How do I generate random integers within a specific range in Java?

#1 javascript toturial

Proper use cases for Android UserManager.isUserAGoat()?