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

Correct case of filenames and add missing form label #13

Merged
merged 2 commits into from Dec 3, 2016
Merged

Correct case of filenames and add missing form label #13

merged 2 commits into from Dec 3, 2016

Conversation

sanderdatema
Copy link
Contributor

@sanderdatema sanderdatema commented Dec 2, 2016

By default git ignored renaming of files if it's just the case you change. So address.js to Address.js is ignored. And so your code couldn't find the files.

@lukejagodzinski
Copy link
Member

Thanks! In deed I've renamed these files locally but git didn't detect changes. How to change this behaviour in git?

@lukejagodzinski lukejagodzinski merged commit 276d5f5 into jagi:v2 Dec 3, 2016
@sanderdatema
Copy link
Contributor Author

sanderdatema commented Dec 4, 2016

There are two ways to go at this:

  1. Use git mv -f oldfilename NewFilename
  2. Use git config core.ignorecase false to have git care about case by default

Source: http://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git

@lukejagodzinski
Copy link
Member

Ok thanks :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants