GIT: Revert/Undo recent staged changes
To unstage the files with removing all the changes made, run git command: git reset –hard To unstage the files without changing anything else, then you need to run git command: git reset To unstage a particular file , we need to run following git command: git reset <filename> To unstage a particular file without… Read More »