add it to your global git ignore file instead of the one checked into the repository.
,Does .gitignore ignore itself?,gitignore file only ignores untracked files. Since you’re presumably
|
add it to your global git ignore file instead of the one checked into the repository.