Git

前言

放一些常用的東東w

先貼一個我覺得不錯的文章 Git面試題

主文

remove submodule

vim .gitmodules    // delete the AWSBucketDump section
git submodule deinit AWSBucketDump
git add .gitmodules
git rm --cached AWSBucketDump
rm -rf .git/modules/AWSBucketDump
git commit -m "remove submodule AWSBucketDump"
rm -rf ./AWSBucketDump

Leave a Reply

Your email address will not be published. Required fields are marked *