I am putting my first Laravel project into a production server. I have developed it in Windows environment. In the production server I have found that folder names under resources folder and blade file names should be in lowercase characters. Otherwise it won't work.
So I have changed my folder+file names into lowercase characters through Atom text editor in local machine. Then I have pushed the project into BitBucket. From there, I will clone my project into production server. But the problem is, folder+file names are still in uppercase characters in BitBucket after committing.
I have removed the repository and then created a new repository and then pushed the project to BitBucket. Still my folder names are in uppercase characters. I have used this commands
Here is a screenshot:
答案 0 :(得分:1)
您可以使用git mv让git知道案例中的更改。
git mv -f Filename filename
Git默认情况下不区分大小写,因此您需要明确。
要更改此默认行为,您可以设置
git config core.ignorecase false