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 rm -r --cached bin/
私は以下を取得します:
致命的: pathspec 'bin/' がどのファイルとも一致しませんでした
フォルダが存在します。なぜこれが機能しないのかわかりません。これが正しい構文であるという回答がいくつか見つかりました。
まず、実際にインデックスに追加されていることを確認してください。
git add bin
次に、コマンドを実行して削除します。
問題が解決しない場合:
git リセット --hard