I wanted clonning repository, but recieved the error
imranskiy11 opened this issue · 2 comments
error: invalid path 'experiments/results/correlation_dotprods/_LabelMe/all_results?.csv'
I have the same issue on Windows 10. This error happens immediately after running git clone
and doesn't involve the setup.py
script.
(Swig is installed and on the path. Numpy is also installed via pip.)
> git clone https://github.com/dblalock/bolt.git
Cloning into 'bolt'...
remote: Enumerating objects: 7681, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 7681 (delta 8), reused 27 (delta 6), pack-reused 7648Receiving objects: 100% (7681/7681), 346.15 MiB | 1.14 MiB/s
Receiving objects: 100% (7681/7681), 346.48 MiB | 1.21 MiB/s, done.
Resolving deltas: 100% (2237/2237), done.
error: invalid path 'experiments/results/correlation_dotprods/_LabelMe/all_results?.csv'
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 :/'
The cloned bolt
directory is completely empty. Running git status
in bolt/
reveals that somehow the repository has cannibalized itself: Every file is marked as deleted
.
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
deleted: .gitattributes
deleted: .gitignore
deleted: .gitmodules
deleted: BUILD.md
deleted: LICENSE.md
deleted: README.md
deleted: assets/blalock-maddness-poster.png
deleted: assets/bolt-slides.pdf
deleted: assets/bolt-theory.pdf
deleted: assets/bolt.jpg
deleted: assets/snn-maddness.pdf
deleted: build.sh
deleted: clean.sh
deleted: cpp/.gitignore
deleted: cpp/BUILD
deleted: cpp/CMakeLists.txt
deleted: cpp/WORKSPACE
deleted: cpp/quantize/catch.hpp
... (truncated due to Github comment character limit)
'?' is a reserved character on windows systems; since this file has a question mark it's invalid. SO says there's no way around this except to use a different os. https://stackoverflow.com/questions/36827671/git-clone-displaying-errors-and-marking-files-as-deleted-in-windows-10
I'd clone this repo inside a unix based docker container and develop in that container.