I have a question concerning the git reset command:
git reset .
git reset HEAD .
What is the difference between the two commands? Are making same changes?
Yes, it does exactly the same. If you omit the commit id, it will default to HEAD.
Git Reset: to undo commits:
Example: git reset "hashValueOfAnyCommit"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With