我不小心把幾個文件夾推到了bitbucket裏面,因爲我用git克隆了它們,所以它們中有.git文件夾。Bitbucket submodules不會刪除
我無法點擊這些文件夾或進入他們到位桶
我該怎麼辦擺脫那些我已經使用:
rm -rf .git
那兩個。 git文件夾 then:
git reset --hard ^HEAD
git push
git commit -a -m "Message"
git push
我也嘗試設置提交回一個,但也沒有工作。 這裏沒有子模塊文件我也從那裏移動目錄的文件夾,並進行了另一次推動,但他們仍然apear。
除了Git中的修復,你可以去掉bitbucket上公開回購的更改 – jozefg
我已經回滾了我對bitbucket的提交,但更改仍然存在? – MikaAK