Does git ignore capitalization changes in file names?

tambykojak

I have branch A and branch B.

On branch A, I have a package with the name xyz and I change the package name to xYz. Next, I commit all of my changes and then switch to branch B. Now, once I switch to branch A, the package that I changed still has the value of xyz which is NOT what I committed. This happens in numerous cases.

The question: Does git ignore capitalization changes in file names or is this an issue on my part? I am using the SourceTree client if that helps.

VonC

You can try to set (as mentioned in the question "Git on windows: Can't switch branch after renaming a file (only changed case)"):

git config core.ignorecase false

And see if the issue persists.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Make git ignore file changes

From Dev

Git ignore local file changes

From Dev

Make git ignore file changes

From Dev

GIT diff and GIT status ignore changes of a file

From Java

How to stop tracking and ignore changes to a file in Git?

From Dev

How to ignore changes to a file when committing with Git?

From Dev

git: how can i config git to ignore file permissions changes

From Dev

Sourcetree / Git .ignore file - does not ignore packages folder in solution

From Java

How do I make Git ignore file mode (chmod) changes?

From Dev

How to ignore any changes on already committed file to Git

From Dev

How to ignore git controlled file for pending changes locally

From Dev

On OSX, git merge deletes file with renamed capitalization

From Dev

Ignore changes to a tracked file

From Dev

Ignore file changes

From Dev

How to find file/directory names that are the same, but with different capitalization/case?

From Dev

GIT. Ignore changes to be commited

From Dev

GIT. Ignore changes to be commited

From Dev

GIT: how does git know the changes of a text file?

From Dev

Git ignore xcodeproj file

From Dev

git ignore file header

From Dev

MATLAB does not recognize".m" file changes after switching branches in git

From Dev

How do I tell git to ignore my local changes, but leave the file in my remote repo?

From Dev

How to tell git to (1) ignore changes and (2) abandon managing commited file

From Dev

How to tell git to (1) ignore changes and (2) abandon managing commited file

From Dev

Detect changes to a file in Git

From Java

Git ignore local changes to portions of tracked files

From Dev

Making `git status` ignore whitespace changes

From Dev

Ignore whitespaces changes in all git commands

From Dev

Git ignore local changes to portions of tracked files

Related Related

  1. 1

    Make git ignore file changes

  2. 2

    Git ignore local file changes

  3. 3

    Make git ignore file changes

  4. 4

    GIT diff and GIT status ignore changes of a file

  5. 5

    How to stop tracking and ignore changes to a file in Git?

  6. 6

    How to ignore changes to a file when committing with Git?

  7. 7

    git: how can i config git to ignore file permissions changes

  8. 8

    Sourcetree / Git .ignore file - does not ignore packages folder in solution

  9. 9

    How do I make Git ignore file mode (chmod) changes?

  10. 10

    How to ignore any changes on already committed file to Git

  11. 11

    How to ignore git controlled file for pending changes locally

  12. 12

    On OSX, git merge deletes file with renamed capitalization

  13. 13

    Ignore changes to a tracked file

  14. 14

    Ignore file changes

  15. 15

    How to find file/directory names that are the same, but with different capitalization/case?

  16. 16

    GIT. Ignore changes to be commited

  17. 17

    GIT. Ignore changes to be commited

  18. 18

    GIT: how does git know the changes of a text file?

  19. 19

    Git ignore xcodeproj file

  20. 20

    git ignore file header

  21. 21

    MATLAB does not recognize".m" file changes after switching branches in git

  22. 22

    How do I tell git to ignore my local changes, but leave the file in my remote repo?

  23. 23

    How to tell git to (1) ignore changes and (2) abandon managing commited file

  24. 24

    How to tell git to (1) ignore changes and (2) abandon managing commited file

  25. 25

    Detect changes to a file in Git

  26. 26

    Git ignore local changes to portions of tracked files

  27. 27

    Making `git status` ignore whitespace changes

  28. 28

    Ignore whitespaces changes in all git commands

  29. 29

    Git ignore local changes to portions of tracked files

HotTag

Archive