Can gitignore shield itself? Can gitignore be shielded?

  git, question

The company uses svn, environment.
But now I am using git-svn.

Therefore, a. gitignore is set to mask the. svn folder in the current directory.
However, when submitting, it will submit. gitignore to the server.

Can you block. gitignore’s own files?

The method that can be thought of now is gitupdate-index-assume-unchanged-path/tofiles.
But this method doesn’t feel very good. I can’t know exactly which files assume-unchanged has.

You can add rules to Repo’s.git/info/excludeIn the file.