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

git clone on Windows does not work - Main.js #281

Open
bchartier opened this issue Nov 15, 2023 · 4 comments
Open

git clone on Windows does not work - Main.js #281

bchartier opened this issue Nov 15, 2023 · 4 comments
Assignees
Labels

Comments

@bchartier
Copy link
Contributor

Due to the presence of two "main.js" files in the same directory (one with an uppercase M) the git clone command on Windows encounters an error:

warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'lib/template-generator/Main.js'
  'lib/template-generator/main.js'
@Gaetanbrl
Copy link
Contributor

@Gaetanbrl Gaetanbrl self-assigned this Nov 15, 2023
@Gaetanbrl Gaetanbrl added the bug label Nov 15, 2023
@Gaetanbrl
Copy link
Contributor

Need fix -> for Windows only

Gaetanbrl added a commit that referenced this issue Nov 15, 2023
#281 - Delete lib/template-generator/Main.js
@bchartier
Copy link
Contributor Author

I discovered this pre-commit hook tool that can help prevent this kind of error:
https://github.com/pre-commit/pre-commit-hooks#check-case-conflict

@Gaetanbrl
Copy link
Contributor

Last fix don't fix this issue ? So, need pre-commit ?

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

No branches or pull requests

2 participants