Skip to content

Instantly share code, notes, and snippets.

@nickfloyd
Created December 13, 2010 17:56
Show Gist options
  • Save nickfloyd/739316 to your computer and use it in GitHub Desktop.
Save nickfloyd/739316 to your computer and use it in GitHub Desktop.
To delete local and remote branches
-delete the remote
>> git push [remote] :[branch]
-delete the local
>> git branch -d [branch]
ex.
git push origin :dev1
git branch -d dev1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment