Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


To delete a branch what is the command that is used?



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

Post New Answer

More Git Interview Questions

What is the difference between git and github?

1 Answers  


What is the function of ‘git reset’?

1 Answers  


What is “Staging Area” or “Index” in GIT?

1 Answers  


What is the function of ‘GIT PUSH’ in GIT?

1 Answers  


How to resolve a conflict in git?

1 Answers  


How to squash or fixup commits?

1 Answers  


Explain the advantages of forking workflow?

1 Answers  


What work is restored when the deleted branch is recovered?

1 Answers  


What is the difference between rebasing and merge in git?

1 Answers  


What is git Is-tree?

1 Answers  


How is git instaweb used?

0 Answers  


What is a “conflict” in git and how is it resolved?

1 Answers  


Categories