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

aux is a reserved keyword on key windows - can't checkout aux.py #18

Open
dan-marshman opened this issue May 30, 2021 · 2 comments
Open

Comments

@dan-marshman
Copy link

The file aux.py in the cryptoalgotrading directory raises and error when checking out on Windows as aux is a reserved key word.

error: invalid path 'cryptoalgotrading/aux.py'
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 :/'

More info from WIndows

It might be worth renaming that file to algo_aux.py or something like that?

(I normally use Linux but happened to be looking at the project on my windows machine)

Cool project by the way - are you looking for contributors?

@ivopetiz
Copy link
Owner

thanks for the alert. didn't test this on windows yet.

If you want you can contribute by fixing this for windows. It would be great!

@douggiles
Copy link

Another option is to configure git to allow the checkout of paths that could cause problems with the NTFS filesystem. A file named 'aux.py' doesn't seem like it should be a problem.

These commands allowed me to clone this project on Windows 11:

git clone https://github.com/ivopetiz/algotrading.git
cd algotrading
git config core.protectNTFS false
git checkout

Repository owner deleted a comment Jan 1, 2024
Repository owner deleted a comment Jan 26, 2024
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

4 participants
@douggiles @ivopetiz @dan-marshman and others