S

Satya • 2.31K Points
Master

Q. Which command deletes a local Git branch?

  • (A) git branch -r <branch>
  • (B) git delete <branch>
  • (C) git branch -d <branch>
  • (D) git remove <branch>
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
'git branch -d <branch>' deletes the specified local branch.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.