Answers for "how to delete a branch in bash"

3

delete branch git

// delete branch locally
git branch -D localBranchName

// delete branch remotely
git push
Posted by: Guest on August-12-2020
0

delete a branch git

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName

// refresh branch list
git fetch -p
Posted by: Guest on September-01-2020
2

how to delete branch locally

$ git branch -d <local-branch>
Posted by: Guest on December-04-2020

Code answers related to "how to delete a branch in bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language