new

Try Stack Overflow for Business

Our new business plan for private Q&A; offers single sign-on and advanced features. Get started by May 31 for 2 months free.

Learn more
3 added 10 characters in body
source | link

If you want to delete a branch, first checkout to the branch other than the branch to be deleted.

git checkout other_than_branch_to_be_deleted

Deleting the local branch:

git branch -D branch_to_be_deleted

Deleting the remote branch:

git push origin --delete branch_to_be_deleted

If you want to delete a branch, first checkout to the branch other than the branch to be deleted.

git checkout other_than_branch_to_be_deleted

Deleting local branch

git branch -D branch_to_be_deleted

Deleting remote branch

git push origin --delete branch_to_be_deleted

If you want to delete a branch, first checkout to the branch other than the branch to be deleted.

git checkout other_than_branch_to_be_deleted

Deleting the local branch:

git branch -D branch_to_be_deleted

Deleting the remote branch:

git push origin --delete branch_to_be_deleted
2 edited body
source | link

If you want to delete a branch, first checkout to the branch other than the branch to be deleted.

git checkout other_than_branch_to_be_deleted

git checkout other_than_branch_to_be_deleted

Deleting local branch

git branch -D branch_to_be_deleted

git branch -D branch_to_be_deleted

Deleting remote branch

git push origin --delete branch_to_be_deleted

git push origin --delete branch_to_be_deleted

If you want to delete a branch, first checkout to the branch other than the branch to be deleted.

git checkout other_than_branch_to_be_deleted

Deleting local branch

git branch -D branch_to_be_deleted

Deleting remote branch

git push origin --delete branch_to_be_deleted

If you want to delete a branch, first checkout to the branch other than the branch to be deleted.

git checkout other_than_branch_to_be_deleted

Deleting local branch

git branch -D branch_to_be_deleted

Deleting remote branch

git push origin --delete branch_to_be_deleted
1
source | link

If you want to delete a branch, first checkout to the branch other than the branch to be deleted.

git checkout other_than_branch_to_be_deleted

Deleting local branch

git branch -D branch_to_be_deleted

Deleting remote branch

git push origin --delete branch_to_be_deleted