Platformio insists on altering my gitignore file

Hello all,

Is there a way to stop this feature?

I was in the situation where I had reverted twice the .gitignore file after importing a project and the third time the file was altered during a rebase operation and threw the rebase process off. I could revert by abort, but lost the process I had done.

That’s just an example though. I do not understand why it would Insist on altering the file? It would be better if it could ask me before altering the file, or have a setting to stop the altering altogether? There are legitimate reasons I do not want this file altered.

I am using it on linux though Atom.

Please help :slight_smile:

Best,
Sakis

No one? :frowning:

I really like PlatformIO but apparently I do not get how I should be using this with a large comunity project that was not made in PlatformIO as it keeps altering the gitignore file when I checkout to other branches and perform rebases.

Any advice on what I am doing wrong is highly appreciated. :slight_smile:

Currently, this is default behavior of Project Generator. We don’t remove any your lines from .gitignore and adds only only own.

Resolved in

Please run $ pio upgrade --dev in PlatformIO IDE Terminal.