Answers for "git force delete branch"


force delete a branch in git

git branch -D <branch_name>
#This is use to force delete a branch that cannot be deleted with
git branch -d <branch_name>
Posted by: Guest on September-05-2021

cmd delete branch

git branch -d yourBranch # delete local branch
git push origin --delete yourBranch # delete branch on repo/push change
Posted by: Guest on August-19-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language