-
Notifications
You must be signed in to change notification settings - Fork 840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git pushing to git remote with Windows file system URI fails #1855
Comments
This would have to be made a Linux When Linux So basically, there isn't any "somewhere in the process by WSL" for this seemingly natural behavior you want, except for doing it in the Linux |
On that note, you might consider bringing this up with the git community: If I'm being realistic, I would kind of expect that they won't do anything about it, at least not quickly... But they definitely won't do anything about it if they don't know about it :-) |
I think the Linux I think your #1854 (message) trick might fly:
Totally untested. You'll faceplant when you hit a symlink, but I digress. |
I should add, at some risk of sounding like Captain Obvious, that you can start |
@therealkenc Thanks for the tip. The repository is not directly on the I'll have a go at trying those tricks tomorrow at work, it would be swell if I could commit from inside WSL. Thanks! |
Description
In my user folder on Windows (
C:\Users\denzo\Code
) I have a cloned git repository with the origin remote pointing to a bare git repository somewhere else on myC:\
drive on Windows. When accessing the cloned repository, bothgit remote show origin
andgit push
throw an error.Expected results
I was hoping that the file URI would be converted to a /mnt/c/ URI somewhere in the process by WSL.
Actual results (with terminal output if applicable)
Both
git push
andgit remote show origin
throw this same error.Your Windows build number
Version 1607 (OS Build 14393.953)
Steps / All commands required to reproduce the error from a brand new installation
git push
a commit on a cloned repository with a remote url pointing with a native Windows filesystem URI (e.g.C:\Repositories\myrepo.git
)Required packages and commands to install
git
The text was updated successfully, but these errors were encountered: