Open hybridherbst opened 1 year ago
I'd like to upvote this.
For now we have to open the terminal and run:
git mv -f yOuRfIlEnAmE yourfilename
ref
..And that is if we remember to do this. Otherwise we risk breaking CI (if in place), or worst, get some nice PR review, and even worse, break main branch.
This issue would be a super quality of life update for win users.
Couldn't find another issue for this, but one thing that keeps tripping me up when using git (and I do 99% through Fork) is the handling of casing changes. Git does not understand that; instead, it keeps insisting that a file has a change, but neither discarding nor committing it changes anything. Only renaming the file locally, or deleting it, committing, and then bringing it back with the right name help.
These are really hard to catch and can "infect" multiple machines, e.g. someone has renamed a file and managed to push that and now everyone has local changes that are non-discardable, forever (until I catch the issue and apply one of the above workarounds).
I believe this is Windows-specific as the filesystem itself is case-insensitive...