http://d.hatena.ne.jp/woremacx/20080308/1204986198ã®ã‚ˆã†ã«ã€gitã§å¤–部レãƒã‚¸ãƒˆãƒªã‚’扱ãˆã‚‹ã‚ˆã†ã«ã™ã‚‹æ–¹æ³•ã€‚ 外部レãƒã‚¸ãƒˆãƒªã®è¿½åŠ git submodule addã™ã‚‹ã¨ã€å¤–部レãƒã‚¸ãƒˆãƒªã‚’サブモジュールã¨ã—ã¦å–ã‚Šè¾¼ã‚るよã†ã«ãªã‚Šã¾ã™ã€‚ # cloneã™ã‚‹ $ git clone git://example.com/repos/private/ $ cd private # git://example.com/repos/external/ã‚’è¿½åŠ ã™ã‚‹ $ git submodule add git://example.com/repos/external/ # commitã—ã¦ãŠã $ git commit -m "Add submodule" $ git push 外部レãƒã‚¸ãƒˆãƒªå†…ã§ã®ä½œæ¥ 外部レãƒã‚¸ãƒˆãƒªã§ä½œæ¥ã—ãŸã¨ãã¯ã€ãã“ã§ã‚³ãƒŸãƒƒãƒˆã™ã‚‹
{{#tags}}- {{label}}
{{/tags}}