I have 2 files with the same name in my remote repository.
Say:
1. abc.txt
2. ABC.txt
In my local checkout, I can see only 1 file.
By changelist I mean un-comitted changes.
Now, somehow in my develop branch, the default changelist shows just 1 file, only abc.txt
. If I revert this file it becomes ABC.txt
then on reverting again it becomes abc.txt
. Same thing happens on pulling/rebasing.
When I checkout some other branch say, A or B then the default changelist disappears, but when I switch back to develop the file in default changelist starts showing again.
I want to get rid of this file showing in my changelist as it is blocking reset, rebase and merge operations.
I want to see both the files in my local.
Tricks applied so far:
- Revert - Simply changes the file name.
- Reset hard - The operation is successful but it changes only the file name.
- Delete and pull - Nothing happens at all.
**I have used both Intellij inbuilt tool and SourceTree.