Wrong files added in commit

Mon 19 March 2018 by Aditya Arora

This post helps users to revert changes made while using git. We might add wrong files while committing. It is a good practice to use

git status

to check what files are currently worked on. So this is what you have done

  • Added the wrong files to the staging area ...
read more