Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page
Help Center/ CodeArts Repo/ User Guide/ More About Git/ Use Cases on the Git Client/ Committing Letter Case Changes in File Names to the Server

Committing Letter Case Changes in File Names to the Server

Updated on 2023-12-04 GMT+08:00

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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback