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.
hereに示すように、git diffを使用してディレクトリまたはファイルを無視できることはわかっています。git diff !(example)
git diff
git diff !(example)
使用時にこれは可能git commit -vですか?
git commit -v
それらがインデックス上にある限り、コミット -v メッセージに表示されます。
それらを .gitignore に追加するか (ただし、それが必要だとは思いません)、コミットごとに不要なコメントを手動で削除できます。