Git: Remove local branch

Updated . Posted . Visible to the public. Repeats.

git branch -d the_local_branch delete a local branch

git push origin --delete the_remote_branch [remove_the_local_branch] remove a remote branch

alternatively, git push origin :the_remote_branch [remove_the_local_branch]

Sean Feldman
Last edit
Sean Feldman
Tags
Posted by Sean Feldman to Sean Feldman's deck (2015-01-06 19:54)