Question: What is the difference between git branch -d and git branch -D?
- -D deletes the local branch, while -d deletes the branch regardless of push and merge status.
- -d deletes the current commit head, while -D deletes the entire branch.
- -d deletes the local branch, while -D deletes the local branch regardless of push and merge status.
- -D deletes the current commit head, while -d deletes the entire branch.
Answer: The correct answer of the above question is Option C:-d deletes the local branch, while -D deletes the local branch regardless of push and merge status.