Skip to content
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

When using git for windows clone nvda.wiki repository: fatal: unable to checkout working tree #10663

Closed
dpy013 opened this issue Jan 8, 2020 · 5 comments

Comments

@dpy013
Copy link
Contributor

dpy013 commented Jan 8, 2020

hello
I get the following error when using git for windows clone nvda.wiki repository:

Steps to reproduce:

First opennvda.wiki
Then use git clone: https://github.com/nvaccess/nvda.wiki.git
After clone finish I get the following error:
error: invalid path 'Notes:-Adding-support-for-aria-attributes-to-browsers.md'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Actual behavior:

After clone finish I get the error:

Expected behavior:

clone finish
thanks

@AAClause
Copy link
Contributor

AAClause commented Jan 8, 2020

Maybe due to long path, try to take the clone on a small path.

@dpy013
Copy link
Contributor Author

dpy013 commented Jan 9, 2020

Maybe due to long path, try to take the clone on a small path.
hello
I changed the clone directory and the following message still appears:
dpy@DESKTOP-G7I56QF MINGW64 /e/Source
$ git clone https://github.com/nvaccess/nvda.wiki.git
Cloning into 'nvda.wiki'...
remote: Enumerating objects: 571, done.
error: invalid path 'Notes:-Adding-support-for-aria-attributes-to-browsers.md'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
dpy@DESKTOP-G7I56QF MINGW64 /e/Source
thanks

@AAClause
Copy link
Contributor

AAClause commented Jan 9, 2020

OK. With Git 2.24.1.2 I've the same error. No problem with Git 2.23.0. Maybe that issue is related to the issue: git-for-windows/git#2435
What version of Git are you using?
I think you should close this issue and (if it's not a duplicate) report it rather to the above mentioned repository.

@dpy013
Copy link
Contributor Author

dpy013 commented Jan 9, 2020

OK. With Git 2.24.1.2 I've the same error. No problem with Git 2.23.0. Maybe that issue is related to the issue: git-for-windows/git#2435
What version of Git are you using?
I think you should close this issue and (if it's not a duplicate) report it rather to the above mentioned repository.

git version 2.24.1.windows.2

@dpy013 dpy013 closed this as completed Jan 9, 2020
@SamB
Copy link

SamB commented Jan 25, 2020

I'm pretty sure it's the colon ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants