Git 管理問題 - Linux

Table of Contents

檔案分佈大致上是這樣

myrepo
myfile1
myfile2
submodule1
submodule2

我的repo 使用git submodule 整合了其他repos
使用上會修改到它們的內容以便利用
可是這些repos 也會一直不斷的跟新

請問在一般的狀況下
會怎麼應付這樣的問題?

1. 進submodule 去create local branch
2. 或是自己寫一些scripts 在git 要fetch/pull 前後處理這些繁雜的事情
3. 或是有其他更好的想法/作法?

感恩

--
≡ Ⅲ chung li, 5 tsan fung long, ya hwa 4 zhou dong yea tsan shung
5 z bow z 7, 5 gu bu z fung, kang wou ming zhu tsau gin da tong
tsong yea way gin, may why zhou sang ley, so chang bu e, mo to 5 gin gong
tong sin song der, kwong tsaer 4 zhong,
tong sin song der, kwong tsaer 4 zhong,

--

All Comments

Agnes avatarAgnes2010-11-29
看你要 read-only or write
Jacob avatarJacob2010-12-01
不改就 tag,想改就 branch,若沒權限就 local branch 吧
Gary avatarGary2010-12-03
想問 如果branch之後, super repo 要怎麼管理這submodule 的
Belly avatarBelly2010-12-03
commit?
Barb Cronin avatarBarb Cronin2010-12-03
讓上層來決定 checkout 哪一個 branch, 而不是 master