RDP over VPN can't see a .git directory to be able to pull
- From
- Paul Kinzelman <paul@kinzelman.com>
- Date
- Jul 15, 2022, 18:27 UTC
- Message-ID
- <9ccd1e5b-f8f7-f6c9-9e1b-0058ec71cda5@kinzelman.com>
- In-Reply-To
- <xmqqilnz2tck.fsf@gitster.g>
I'm trying to 'git pull' between two W10 systems over a VPN with RDP.
I map my local C:\ drive to drive s:\ on the remote system so on the remote system, I can see my local C:\ drive that has the repository On the remote system, I do git pull s:\gitrepository but it says ...does not appear to be a git repository, could not read from remote repository
In a command line window on the remote system, I do dir s:\gitrepository and the .git directory is not shown in the listing. All the other files are including the .gitignore file (has a dot at the start).
But I can do dir s:\gitrepository\.git and all the files and subfolders under .git are there.
I've set the "Show hidden files, folders, and drives" radio button in the Folder Options | View window if that matters.
Any idea why the .git directory is being blocked from being seen unless specifically specified, but I can see the .gitignore file just fine?