GitStudyCards
Cards
Blog
About
Book
🇧🇷
#038 git reset HEAD^ --soft
Command
Description
reset
Command that resets to previous state
HEAD
Pointer that stores the current state
^
The circumflex is a shortcut for the last commit
--soft
Flag that store changes in staging