Discussion:
[問題] github 上傳問題
(时间太久无法回复)
shihyuyao
2014-12-31 16:16:48 UTC
Permalink
我有多個資料夾最外一層有一個.git 管理

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

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

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

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

謝謝

--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 175.182.130.51
※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1420042609.A.EBB.html
shihyuyao
2015-01-02 14:33:56 UTC
Permalink
我在某個資料夾下

git submodule add https://github.com/duxing2007/ldd3-examples-3.x

可是這樣 git commit , git push 之後好像還是沒辦法把 ldd3-examples-3.x

資料夾下的變成我 Repositories , .git 內容還是指向 https://github.com/duxing2007/ldd3-examples-3.x

資料夾內容還是空的好像都要 git submodule update 在從 https://github.com/duxing2007/ldd3-examples-3.x

下載回來~感覺這樣怪怪還是我操作有錯誤

謝謝

--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 175.182.115.245
※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1420209237.A.607.html
Loading...