Actions

EmSys

Git - Task8

From EdWiki

Everyday tasks with Git

  • Reset the conflicted merge
git-reset
git reset –mixed <commit-id>
  • Reset the index database to the moment before merging
git reset –hard <commit-id>
  • Reset the index database and the working data
git reset –soft <commit-id>

You made a commit and also made some typo mistake. These commands help us fix those errors without touching the working data and index database