Git-LFS:在 Windows 上推送到本地存储库失败

Git-LFS: Push to local repository on Windows fails

我在 Windows 上创建了一个本地存储库,其中包含一些 Git-LFS 文件。然后我试图将该存储库推送到同一系统上的另一个存储库。 git push 失败:

c:\r2g-wd-git-issue-103\git-issue-103>git push origin git-issue-103-stream
Remote "origin" does not support the LFS locking API. Consider disabling it with:
  $ git config lfs.https://c////r2g-wd-git-issue-103/git-issue-103.git/info/lfs.locksverify false
batch request: ssh: Could not resolve hostname c: Name or service not known: exit status 255
Uploading LFS objects:   0% (0/1), 0 B | 0 B/s, done
error: failed to push some refs to 'C:/r2g-wd-git-issue-103/git-issue-103.git'

我怀疑 Git-LFS 不喜欢远程源的 Windows 格式:

c:\r2g-wd-git-issue-103\git-issue-103>git remote -v
origin  C:/r2g-wd-git-issue-103/git-issue-103.git (fetch)
origin  C:/r2g-wd-git-issue-103/git-issue-103.git (push)

我应该为远程源使用其他格式吗?或者这是一个不同的问题?或者这是一个 Git-LFS 错误?

我是 运行 git 版本 2.22.0.windows.1git-lfs/2。 7.2 (GitHub; windows amd64; go 1.12.2; git 08a08ae0) on Windows 10 Enterprise.

我在 https://github.com/git-lfs/git-lfs/issues/3742 打开了一个 Git-LFS 问题并得到了以下响应:

It is currently known that you can't use Git LFS to push to a local repository unless you use a standalone transfer agent. This isn't limited to Windows; it's the case everywhere.

You can set up a local instance of our test server if you want, or you can build your own standalone transfer agent. I'm not aware of any existing ones that handle local files.