Twindle: Colliding issue with some files.

Created on 14 Oct 2020  ·  9Comments  ·  Source: twindle-co/twindle

I have synced the repo once again recently and their are two file which are conflicting with each other, one is 'tushar.md' and another one is 'TUSHAR.md' below is the terminal snap to show the error.

conflicting error

And when I am trying to update one file another one gets automatically updated too and in local machine only one file is visible

image

You can see only one file is present.

image

'Possible solution to solve this issue would be using a file naming like 'Firstname_lastname.md'

Most helpful comment

I thought it was a Windows issue too, but when I clone it in a Mac, the message of "files collided" appeared, I honestly don't know why. 🧐 it's true that in a Mac you can have 2 different files with the same name but with a difference of upper and lower case, but for some reason when it's downloaded from github, it doesn't recognize as 2 diff files 🤷🏽‍♀️
So it's better to avoid it.

All 9 comments

@johnjacobkenny and @proful
Please check this.

Can you remame the upper case file and raise a PR

@proful I renamed the upper case file to solve this issue.
And we can also add that use both firstname and lastname when making the file in firstpr_folder then I think that will reduce the chance of ending up with same file names.

I am closing this issue as it is solved now.

Thanks @pranavgoel29 for helping out. I'm guessing that you are on windows. Windows treats files with the same characters as one file. It is not case sensitive. However on *nix machines these are two separate files. That is what happened here.

@piratelicorne Could add this example for our FAQ 🙂

@johnjacobkenny It happened for Mac users too.

Oh, then I must be wrong about the reason. 😂 If anyone else knows what happened, please comment so that it's documented.

The reason is right but Windows and Mac both do that because they both are case insensitive. Feel free to add more details.

I thought it was a Windows issue too, but when I clone it in a Mac, the message of "files collided" appeared, I honestly don't know why. 🧐 it's true that in a Mac you can have 2 different files with the same name but with a difference of upper and lower case, but for some reason when it's downloaded from github, it doesn't recognize as 2 diff files 🤷🏽‍♀️
So it's better to avoid it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vasudeveloper001 picture vasudeveloper001  ·  7Comments

proful picture proful  ·  5Comments

proful picture proful  ·  6Comments

tusharkandpal picture tusharkandpal  ·  3Comments

proful picture proful  ·  4Comments