0
I was in the following situation, I was doing a training and I got to a point that my page was not correctly loading being different from the instructor, everything indicated a problem of CSS so I made a git log
and I was doing the git reset
to return to commits previous and identify where I got lost.
The problem is that when I made one git log
to return again to the last commit, I realized there wasn’t any log of my commits current. By luck, scrolling the page of the Cmder, found the first git log
and made a git reset
using the hash latest and my project returned to last status.
Would have some way to do that without necessarily losing the logs or git reset
is only for cases without back?
For this my need I should have used git checkout <hash>
previous?
I tested here and worked perfectly thank you.
– ucavalcante