Git · Middle · Question 46 of 75

Why might renaming File.js to file.js cause trouble on macOS or Windows?

Explanation

The OS treats both names as one file, so Git may not notice the change, while Linux CI sees two different paths. Use git mv File.js file.js.

Further reading

Problem with a question

Git · Middle · question 46

Test yourself

Take the Git · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz