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.
たとえば、すべてのテキスト ファイルをプロジェクトのルート フォルダーに追加したいと考えています。
これは機能しません:
$ git add '/*.txt'
どうする?
プロジェクトのルート フォルダーに移動し、
git add *.txt
警告: Windows では動作しません
ワイルドカードの周りから引用符を削除する必要があります。
現在のディレクトリ内のすべてのテキスト ファイルを git ステージング領域に追加します。