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...

Explain the difference between reverting and resetting.

Answer Posted / Sanjeev Mittal

Reverting in Git undoes specific changes by creating a new commit that cancels out the changes made by another commit. It leaves the commit history intact, which is useful for preserving information about what happened.nResetting, on the other hand, removes commits from the repository's history. This can be dangerous because it deletes data permanently. There are different ways to reset (soft, hard, mixed), but all of them affect the commit history.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is git instaweb used?

1