git revert do?git revert creates a new commit that undoes the changes made by a previous commit, without changing the project history.
git revert different from git reset?git revert safely undoes changes by adding a new commit, while git reset changes the commit history and can remove commits.
The command is git revert HEAD. It creates a new commit that reverses the last commit.
git revert considered safe for shared repositories?Because it does not rewrite history, it avoids conflicts with others who may have pulled the original commits.
git revert will create a new commit that removes the bug by undoing the changes from the bad commit.
git revert do?git revert safely undoes changes by creating a new commit that reverses a previous commit.
git revert is safe because it does not rewrite history, unlike git reset --hard or git rebase.
git revert HEAD do?git revert HEAD creates a new commit that undoes the changes from the last commit.
git revert over git reset?git revert keeps history intact, which is important for collaboration and tracking changes.
Reverting a bug fix commit will undo the fix, so the bug will come back.
git revert safely undoes a commit and why it is preferred in shared projects.git revert and git reset.