git刪除target文件夾
網上的git命令:git rm -r --cached target/* 發現報錯:fatal: pathspec 'target/classes' did not match any files
一開始以爲是路徑錯誤,進入目錄後發現還是一樣。
執行:git rm -r --cached target 成功
-r 遞歸文件
--cached 暫存區,不加的話本地文件也會刪除
git刪除target文件夾
網上的git命令:git rm -r --cached target/* 發現報錯:fatal: pathspec 'target/classes' did not match any files
一開始以爲是路徑錯誤,進入目錄後發現還是一樣。
執行:git rm -r --cached target 成功
-r 遞歸文件
--cached 暫存區,不加的話本地文件也會刪除
繼續運行 🥋 回憶上次內容 上上次 真寫了 萬行 代碼 這 萬行 代碼 都是寫在 明面 上的 這次 使用git命令 下載了 github上面的倉庫