git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RDP over VPN can't see a .git directory to be able to pull

From
PKPaul 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?

Previous: Paul Kinzelman
Message 4 of 4 in “moving a repository question”
  1. Paul KinzelmanJul 14, 2022
  2. Junio C HamanoJul 14, 2022
  3. Paul KinzelmanJul 15, 2022
  4. RDP over VPN can't see a .git directory to be able to pullPaul Kinzelman, Jul 15, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.