2013-08-20 56 views
1

我是相當新的GIT,我試圖找出如果我可以做如下,兩個不同的項目在一個混帳回購協議

我正在開發具有前端和應用程序後端。

假設前端包含位於這條道路10個文件。

如:

/home/front_end/file1 , /home/front_end/file2 ...... /home/front_end/file10 

雖然,後端包括位於不同的路徑100個文件。

如:

/home/app/code/file1, /home/app/code/file2 ,................./home/app/code/file99 

我怎樣才能創造出具有兩個不同位置的回購?

回答

0

你不可能真的。

你可以做的是:

  • 設立無論你想回購,以 'front_end',並在其 'app_code' 文件夾
  • 符號鏈接/home/font_endyourRepo/front_end
    (如ln -s /path/to/yourRepo/font_end /home/front_end
  • symlink /home/app/codeyourRepo/app_code
    (如ln -s /path/to/yourRepo/app_code /home/app/code
相關問題