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


Why is it advisable to create an additional commit rather than amending an existing commit?



Why is it advisable to create an additional commit rather than amending an existing commit?..

Answer / Avinash Kumar Gupta

It's advisable to create an additional commit rather than amending an existing commit when the changes are significant or unrelated to the original commit. Amending a commit can make the commit history harder to understand and can lead to confusion. Creating a new commit allows for clearer and more organized history.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

What is the difference between GIT and SVN?

1 Answers  


What is GIT version control?

1 Answers  


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

1 Answers  


What is a distributed vcs?

1 Answers  


Explain the gitflow workflow?

1 Answers  


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

1 Answers  


Explain the uses of git commands?

1 Answers  


Name some git commands and also explain their functions?

1 Answers  


How do you find a list of files that have changed in a particular commit?

1 Answers  


How do you configure a git repository to run code sanity checking tools right before making commits, and preventing them if the test fails?

1 Answers  


What is git cherry-pick?

1 Answers  


What is a git commit and what does the commit object contain?

1 Answers  


Categories