Compiling errors with gitignore .pioenvs

I am trying to use platformio for my Arduino projects, however, each project is compiling pioenvs files but the gitignore is including them, what should I do?

What is it you want to do?
Exclude the files from git?

I am trying to upload code from GitHub with platformio to an ESP8266 but on compile, .pioenvs files have errors and the gitignore file is not reading I guess, as those file types are listed.