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

From KratosWiki
Revision as of 09:30, 15 February 2017 by Maceli (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Go to your kratos folder

cd kratos

And edit the file .git/info/exclude

emacs .git/info/exclude

Add the following lines inside the file:


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
Personal tools