What is the Git command to delete a local branch named “experiment” without a warning?
A.
git branch –n experiment
B.
git branch –rm experiment
C.
git branch –f experiment
D.
git branch –D experiment
The Answer Is:
D
This question includes an explanation.
Explanation:
[Reference: https://www.atlassian.com/git/tutorials/using-branches, The Git command to forcefully delete a local branch named "experiment" without a warning is git branch -D experiment. This command deletes the branch regardless of its merge status., Reference:, Cisco DevNet Associate Certification Guide: Chapter on Version Control with Git, specifically on branch management commands., Git documentation: git branch command usage and options., ]
200-901 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"