github 上傳問題 - Linux

Table of Contents

我有多個資料夾最外一層有一個.git 管理

可是我想在某個子目錄 git clone 某個 github repositories 也有自己的.git

因為我不想把這.git 砍掉因為他裡面還有不同 branch

有辦法同時保留子目錄下的.git 嗎?

因為我看起來子目錄下有.git 那上傳後那子目錄都是空的

謝謝

--

All Comments

Andrew avatarAndrew2015-01-06
submodule?
Carolina Franco avatarCarolina Franco2015-01-07
submodule
Sierra Rose avatarSierra Rose2015-01-08
git submodule