[问题] github 上传问题

楼主: shihyuyao (shihyuyao)   2015-01-01 00:16:46
我有多个资料夹最外一层有一个.git 管理
可是我想在某个子目录 git clone 某个 github repositories 也有自己的.git
因为我不想把这.git 砍掉因为他里面还有不同 branch
有办法同时保留子目录下的.git 吗?
因为我看起来子目录下有.git 那上传后那子目录都是空的
谢谢
作者: danny8376 (钓到一只猴子@_@)   2015-01-01 01:13:00
submodule?
作者: dearlove (初现)   2015-01-01 08:13:00
submodule
作者: pcchou (pcchou)   2015-01-01 10:24:00
git submodule

Links booklink

Contact Us: admin [ a t ] ucptt.com