Sublime Forum

Git ignore not working

#1

I have this in my .gitignore but the file still shows on my working tree

Sublime Merge build 2039

0 Likes

#2

The file is marked modified, so likely it was already added to git. .gitignore files only prevent new files from showing up. Can be fixed by e.g. an interactive rebase where you undo the commit which added it.

2 Likes