3
I have a project in . git in which I believe it is necessary to ignore some files. However, I put the command and the folder keeps appearing in git status. I did it the following way:
creating gitignore file
touch .gitignore
Including files/directories in . gitignore to be ignored
# ignora os arquivos com extensões
.gitignore
# ignora quaisquer diretórios chamados "metadata"
.metadata/
.recommenders/
Only when you give git status the changes that should not appear continue to appear, because . gitignore is gone from git status but the folder keeps appearing.