Notes on Git
Undoing changes
git reset 123cdef
will set the commit with SHA digest starting with 123cdef to be the latest commit. Any changes committed after that will disappear, so use with utmost caution.
git reset 123cdef
will set the commit with SHA digest starting with 123cdef to be the latest commit. Any changes committed after that will disappear, so use with utmost caution.