How to start tracking directories/files again which were removed from git index? -


using below command removed few directories git index:

git rm -r --cached <your directory> 

now how can add untracked directories git index again?

just add them again index using git add:

git add <your directory> 

note add files, , not removed previous command. there no way undo command.


Comments