git config --global user.name "Name" )
Git config --global user.email "User Email"
git init . (for Initializating repo )
-
HARD RESET
- It will revert the commit and remove all the changes made to the files
-
SOFT RESET
- It will revert last commit but keeps the changes in the file