Git was created as a code version management tool.
Usage
- Rewind to the last commit but keep the file changes in the staged area.
git reset HEAD~1 - Untrack a file from Git but keep it.
git rm --cached <FILE>
Git was created as a code version management tool.
git reset HEAD~1
git rm --cached <FILE>