.gitignoreを使わずに特定ファイルをgit管理から除外する方法 | DevelopersIO dev.classmethod.jp/articles/gi

> .git/info/excludeは、ローカルリポジトリ専用の除外設定ファイルである。.gitignoreと同じ書式で記述できるが、リポジトリにコミットされないため、自分だけの除外設定を管理できる。

知らなかった…

1

If you have a fediverse account, you can quote this note from your own instance. Search https://m.eula.dev/users/eulanov/statuses/116168092879730907 on your instance and quote it. (Note that quoting is not supported in Mastodon.)