Closed Huluvu424242 closed 2 years ago
Hello, there was an checkout problem at window if you try to checkout your project from scratch via git clone.
Cause: the file Array/LongStrWithoutRepeat.js has 3 trailing spaces in the file name!
$ git clone git@github.com:Huluvu424242/JavaScript.git Cloning into 'JavaScript'... Enter passphrase for key '/c/Users/huluv/.ssh/id_rsa': remote: Enumerating objects: 747, done. remote: Counting objects: 100% (208/208), done. remote: Compressing objects: 100% (97/97), done. remote: Total 747 (delta 145), reused 118 (delta 110), pack-reused 539 Receiving objects: 100% (747/747), 181.20 KiB | 871.00 KiB/s, done. Resolving deltas: 100% (284/284), done. error: invalid path 'Array/LongStrWithoutRepeat.js ' 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 :/'
This PR fixed this problem. I have removed the trailing spaces via 2 commits.
https://github.com/akshitagit/JavaScript/pull/162
This PR should fix the problem now.
Hello, there was an checkout problem at window if you try to checkout your project from scratch via git clone.
Cause: the file Array/LongStrWithoutRepeat.js has 3 trailing spaces in the file name!
This PR fixed this problem. I have removed the trailing spaces via 2 commits.