Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#foo.txt#Emacsで作業すると、パターンを追加する方法のような一時ファイルが作成され.gitignore、それらのファイルは無視されます(#はgitによって.gitignoreのコメントとして解釈されます)
#foo.txt#
.gitignore
#文字をエスケープしてみてください:
#
$ cat .gitignore \#*.txt\#
これが役立つことを願っています。