DEV Community

Discussion on: How should you ignore files for just you in git?

Collapse
 
moigagoo profile image
Constantine Molchanov • Edited

Knew about this trick but it never worked for me. Added a file to .git/info/exclude but it still gets tracked.

Is there anything else that should be done?

Collapse
 
ryanlanciaux profile image
Ryan Lanciaux

Interesting- it’s always worked for me when I do this. Are these files that are previously tracked?

Collapse
 
moigagoo profile image
Constantine Molchanov
Thread Thread
 
ryanlanciaux profile image
Ryan Lanciaux

Oh good! If or doesn’t end up working for you, please let me know and I can try to remember what I did in the past πŸ˜ƒ

Collapse
 
moigagoo profile image
Constantine Molchanov

Yeah, that's why I'm trying to untrack them :-)