Committing Letter Case Changes in File Names to the Server
Background
When changes are made to the case of a file name and pushed to the server, the server does not recognize the changes.
For example, a file named AppTest.java is renamed as apptest.java on the Git client. When the change is pushed to the server, the name of the file in the remote server is still AppTest.java.
Procedure
Run the following commands in sequence:
git mv --force AppTest.java apptest.java git add apptest.java git commit –m "rename" git push origin XXX (branch name)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot