I know that I can do this:
git --git-dir="Z:/www/proj/web/test/sample-repo-cloned/.git" status
However, the problem is that the command is run from proj
folder, which means that all files that are located before sample-repo-cloned
will also be taken into account.
Is there a way to run this command under the scope of sample-repo-cloned
folder?