项目背景:在symfony中的public添加前端的submodule
1.删除public文件夹
2.git submodule add git://github.com/chneukirchen/rack.git public
3.git diff --cached public
4.git commit -m 'first commit with submodule public'
5.git push
搞定!
更新commitid:
git add public
git commit
git push
网友评论