How to make Git ignore the files resulting from a compilation without conflicts in .gitignore
Go to your kratos folder
And edit the file .git/info/exclude
Add the following lines inside the file:
KratosMultiphysics/ applications/python_scripts/ libpython2.7.so.1.0 runkratos libs/
Note that some files will change according to your Python version. Feel free to add to this list every folder that you want to ignore.
Close the text editor and run the following command:
The folders and files that you added to the file .git/info/exclude should not appear when typing