Hello,
I am facing an issue in a project where Plasmic synced changes in certain files doesn’t commit to git. The changes have some pattern in it. All of the files have mostly similar changes as follow
Uppercase to lowercase character in Component Name.
A random suffix is added to useScreenVariant
meta tag with name twitter:card added
defaultcss renamed to projectcss
PFA, below for reference.
/test-component creates TestComponent wrapping PlasmicTestComponent
I have resolved the issue but I am so confused, I am not sure how to put it down here as what happened exactly.
I assume git confuses the two and instead of creating a new file with PlasmicTestComponent ( uppercase C ) it actually consider it a modification in PlasmicTestcomponent ( lowercase C ).
Sample Flow that’s similar to what we did in the project.
Create a page test-component having path test-component in studio.
Here I get confused as what happend afterwards. How I resolved it?
I am using one version of the file at the moment i.e /test/component so I just deleted the test-component page from the repo.
Also, I did execute the following git command before the issue got resolved. I suspect it has some implications as well.
hmm you should configure git to match the file system behavior for your platform… I guess one implication is that you could end up with two different components in Plasmic that map to the same file name