ローカルのみで有効な.gitignoreの設定
2024/12/02
`.git/info/exclude`に`.gitignore`と同じフォーマットで記述すると適用されます。 ```bash # viコマンドで開く vi .git/info/exclude # git ls-files --others --exclude-from=.git/info/exclude # Lines that start with '#' are comments. # For a project mostly in C, the following would be a good set of # exclude patterns (uncomment them if you want to use them): # *.[oa] # *~ # 以下追加した行 test.html ```