Git – Undoing Changes: git checkout git revert git reset git clean

Git Undoing Changes git checkout git revert git reset git clean https://www.atlassian.com/git/tutorials/undoing-changes Whereas reverting is designed to safely undo a public commit, git reset is designed to undo local changes. Because of their distinct goals, the two commands are implemented differently: resetting completely removes a changeset, whereas reverting maintains the original changeset and uses a…

Read More