打開終端躁锡,進(jìn)入項(xiàng)目工程根目錄,輸入: git rm -r --cached . 關(guān)閉工程置侍,重開就沒有那個(gè)警告了映之。 來源于:http://uchinoinu.hatenablog.jp/entry/2016/07/10/183449