Open bryantson opened 2 years ago
git add file_name
git commit -m "some commit message"
git log
git revert <SHA>
Exercise - Undoing git commit
git add file_name
,git commit -m "some commit message"
to make a commitgit log
. Copy the latest commit SHA you made.git revert <SHA>
git log
command