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

Problem cloning the repo #270

Open
lavanyadeepak opened this issue Jun 16, 2021 · 1 comment
Open

Problem cloning the repo #270

lavanyadeepak opened this issue Jun 16, 2021 · 1 comment

Comments

@lavanyadeepak
Copy link

I am getting a warning message when cloning the repo. Please find the message enclosed

C:\LavanyaDeepak\Research and Development>git clone https://github.com/TaoK/PoorMansTSqlFormatter.git
Cloning into 'PoorMansTSqlFormatter'...
remote: Enumerating objects: 4180, done.
remote: Total 4180 (delta 0), reused 0 (delta 0), pack-reused 4180
Receiving objects: 100% (4180/4180), 32.53 MiB | 4.24 MiB/s, done.
Resolving deltas: 100% (2473/2473), done.
error: unable to create file PoorMansTSqlFormatterTest/Data/StandardFormatSql/07_ServerTakeoverSample_Brent_Ozar(SpaceAfterExpandedComma=true,ExpandBooleanExpressions=false,ExpandBetweenConditions=false,ExpandCaseStatements=false).txt: Filename too long
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 :/'

image

@a-metta
Copy link

a-metta commented Oct 28, 2021

That's a known windows limitation, where the full file path has a specific limit of characters allowed. Try to check out at the root level, C:\ , without any subfolders, that should work

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

2 participants