Skip to content

How to make Git ignore the files resulting from a compilation without conflicts in .gitignore

Vicente Mataix Ferrándiz edited this page Feb 20, 2017 · 1 revision

Go to your Kratos folder:

cd kratos

And edit the file .git/info/exclude (NOTE: You can use your favourite editor, not necessarily Emacs):

emacs .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:

git update-index

The folders and files that you added to the file .git/info/exclude should not appear when typing:

git status

Project information

Getting Started

Tutorials

Developers

Kratos structure

Conventions

Solvers

Debugging, profiling and testing

HOW TOs

Utilities

Kratos API

Kratos Structural Mechanics API

Clone this wiki locally