追跡されたファイルに多くの変更が加えられたディレクトリを無視したいですか?私は試した
d:\git>git update-index --assume-unchanged dir
fatal: Unable to mark file dir
d:\git>git update-index --assume-unchanged dir/*
fatal: Unable to mark file dir/*
d:\git>git update-index --assume-unchanged dir\*
fatal: Unable to mark file dir\*
私は無理やりcmd.exe
に拡大しようとしましたが、成功しませんでしたdir\*
。私の問題は貧弱なWindowsコンソールに固有のものだと思います。最後にバッチファイルを作成しましたdir\file1
dir\file2
git update-index --assume-unchanged dir\file1
git update-index --assume-unchanged dir\file2
git update-index --assume-unchanged dir\file3
すべてのファイル名の代わりにディレクトリを指定する方法はありますか?