-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 LFS - cannot push files on windows #21561
Comments
I'm having this same problem, looks to me like the invalid character 'U' part is some failure looking for an encryption key or something like that. |
What shell/command prompt are you both using on Windows? Also, what exactly does this command show when you run it within your local checkout:
Thanks for trying out this new feature! |
I was using git bash (which I believe is MINGw64) |
Ah hrm. Maybe you don't need the quotes on git bash. Can you edit your |
(I tested this in the normal command prompt I think.) |
In the config file the "s have three slashes before them on either side. |
Oh sorry. Both sets of |
No luck, still the invalid character 'U' error. |
Hmm strange. The Also, what does this return:
I wonder if that contains backslashes or something else that the git shell can't handle. |
Yeah the command from earlier now shows without slashes or quotes |
Ok thanks. I am stumped for now, this kind of thing is hard to debug. Maybe you put the |
I tried it already with git bash, PowerShell and normal CMD - the error is the same everywhere. |
Oh right, I tried GitHub Desktop as well, same error there. |
Thanks all. I just got some testing in on a Windows device, and you'll never guess this one simple trick to getting it to work... Instead of completely removing each I swear I tested the current code in CMD before and got it to work, so I'll have to go back and try to figure out how to make it work automatically in the next release. Sorry for the inconvenience. Let me know if the above helps. |
That seems to have done it, LFS files are uploading now. Thanks a ton. |
Yes that helps. I'm waiting already few hours but it seems stuck after: @ThePhxRises didn't you have such a problem? |
Uploads are pretty slow. But if you do a |
I leave it for the night and it hasn't finished. :( Thank you for your support! |
I did around a 3.5gb push the other day, which took around an hour and a half-ish. Completed without issue |
@kubalobo thanks. In your logs I see a bit of weirdness with the KBFS service being restarted occasionally during the middle of the transfer (not sure why), and also possibly some pressure based on the size of the disk. But unfortunately, the git logs themselves don't contain much info. If you're willing, could you please zip up all the |
I put everything there. |
Thanks, that was helpful! I think we probably need to re-think the way we upload huge collections of LFS files written all at once. We're trying to sync them all at once, instead of in small batches, and I think that's causing stress and maybe hanging on your system. I'll make an internal ticket to address. In the meantime, if possible, I recommend only pushing small batches of files if you can break them up that way. Sorry for the bad experience, and thanks for the report! |
Hi! |
This fixes the problem for me on Mac OS X with Keybase |
From the feedback in this issue I guess this problem is not related to Windows based OS only. [lfs "customtransfer.keybase-lfs"]
path = git-remote-keybase
args = \"lfs origin keybase://private/arcticicestudio/repository\" I'm running Arch Linux kernel |
Is this something keybase can fix? It seems a trivial bug to fix. |
Hi!
I'm testing the new functionality from v5.1.0 - git LFS support.
I do everything what's said in doc (https://keybase.io/docs/git/index).
Everything is working for normal repo but when I try to push the LFS connected file I got an error:
Propably
Uploading LFS objects
part isn't done because it not take any time to upload file.Is it a bug or maybe am I doing something wrong?
I'm on Windows 10.
My log id: 2dc714afb17faf0439897d1c
Thanks!
The text was updated successfully, but these errors were encountered: