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.
リポジトリのルートディレクトリにあるすべての.logファイルタイプ(つまり)のみを無視しようとしています。foo.log
.log
foo.log
両方とも、ルートディレクトリ内のそのタイプのすべてのファイル*.logと一致しますが、再帰的にも一致します(つまり)/*.log/foo/bar/baz.log
*.log
/*.log
/foo/bar/baz.log
注:私はWindowsでgitを使用しています(git拡張機能)
リポジトリのルートディレクトリ内でのみ、すべてのファイルを特定のファイルタイプと照合するにはどうすればよいですか?
これはgit拡張機能のバグです:
https://github.com/gitextensions/gitextensions/issues/1040