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 |
Name some git commands and also explain their functions?
What is the function of ‘git reset’?
How can you create a repository in Git?
What is difference between fork and branch? How to create tag?
In git, how would you return a commit that has just been pushed and made open?
What is a distributed vcs?
what is git fork? What is difference between fork and branch? How to create tag?
What is a repository in GIT?
Name a few Git repository hosting services
What is git bisect and what is its purpose?
What is git Is-tree?
What is the function of git clone?