To delete a branch what is the command that is used?
Answer / Vinit Kumar Singh
'Git branch -d <branch_name>' deletes a local branch, provided it has been merged or pushed to a remote repository. If the branch has unmerged changes, you'll need to use 'git branch -D <branch_name>' to force the deletion.
| Is This Answer Correct ? | 0 Yes | 0 No |
In git how do you revert a commit that has already been pushed and made public?
What is the function of ‘git checkout’ in git?
How can conflict in git resolved?
What is git reflog?
What is another option for merging in git?
Why git and not svn?
How git instaweb is used?
Explain the difference between rebase and merge?
How to create tag?
Name a few git commands?
What is “Staging Area” or “Index” in GIT?
Describe the branching strategies you have used.