Put the code below in these steps:
- check the status of repo;
- reset to the last commit, but keep the state of staging area and working tree;
- remove file from the staging area;
- make a new commit.
Put the code below in these steps:
git reset HEAD LICENSEgit reset --soft @~1git statusgit commit -m "Third commit"Create a free account to access the full topic