git-for-windows / git

A fork of Git containing Windows-specific patches.
http://gitforwindows.org/
Other
8.3k stars 2.52k forks source link

Cannot commit to network repo from root directory - libgit2 could not find repository from network path - includes workaround #3562

Closed glhey closed 1 year ago

glhey commented 2 years ago

What did you do before the bug happened? (Steps to reproduce your issue)

What did you expect to happen? (Expected behavior)

What happened instead? (Actual behavior)

What's different between what you expected and what actually happened?

Anything else you want to add:

[System Info] git version: git version 2.34.1.windows.1 cpu: x86_64 built from commit: 2ca94ab318509b3c271e82889938816bad76dfea sizeof-long: 4 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Windows 10.0 19043 compiler info: gnuc: 11.2 libc info: no libc information available $SHELL (typically, interactive shell): C:\Program Files\Git\usr\bin\bash.exe

[Enabled Hooks] ~

glhey commented 2 years ago

Note - having incomplete or non-conforming global user info may be associated.

rimrul commented 2 years ago

libgit2 error "libgit2 returned: could not find repository from network path"

This doesn't sound like a Git for Windows issue. Git for Windows doesn't use libgit2.

commit to new repo in mapped network drive

What kind of network drive?

glhey commented 2 years ago

Using QNAP NAS. Possible an authorization problem, Will continue to explore and advise.

dscho commented 1 year ago

Closing as stale.