Please select random order or first card below to begin studying 🤓
Congratulations! You have finished studying this set of cards
What does this command do?
git reset --soft commit
Changes the HEAD ref to point to commit
What does this command do?
git reset --hard commit
Changes the HEAD ref to point to commit, changes the contents of the index to match with the commit's tree structure, and changes the working directory to reflect the same tree structure