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

In git how do you revert a commit that has already been pushed and made public?

1 Answers  


What is the function of ‘git checkout’ in git?

1 Answers  


How can conflict in git resolved?

1 Answers  


What is git reflog?

1 Answers  


What is another option for merging in git?

1 Answers  


Why git and not svn?

1 Answers  


How git instaweb is used?

1 Answers  


Explain the difference between rebase and merge?

1 Answers  


How to create tag?

1 Answers  


Name a few git commands?

1 Answers  


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

1 Answers  


Describe the branching strategies you have used.

1 Answers  


Categories