I have checked out a remote repo. Now I did some operations of adding some file to the repo. as well as (perhaps) removing some files in the repo. In both the instances git was not informed of the changes. Is there a way for git to check the integrity of the repo. and inform me whatever files were changed (or not) ?
I saw this post 1 but dunno if that covers the scenario I shared above. Is $git fsck
enough? If I remove a file from the local repo. how would git tell/show it ?
Look forward to answers.
Best Answer
You seem to be looking for the
git status
command.From man
git-status