Git: Delete Branch From Local And Remote Repository
To delete a branch from a local repository:
Then to delete it from the remote repository:
Reference:
http://git-scm.com/docs/git-branch
http://git-scm.com/docs/git-push
git branch -D my_test_branch
Then to delete it from the remote repository:
git push origin :my_test_branch
orgit push origin --delete my_test_branch
Reference:
http://git-scm.com/docs/git-branch
http://git-scm.com/docs/git-push
Comments
Post a Comment