2014-10-02 29 views
-1

我是Git的新手,並且還在努力工作。爲什麼我看到TestProjectWebAppWithSeleniumTest兩個TestProject回購下方而不是周圍的其他方式?在一個回購下看到兩個項目;期望看到只有一個

在我的GitHub的帳戶,我已經創建並填充兩個公共庫:

https://github.com/robertmarkbram/TestProject https://github.com/robertmarkbram/WebAppWithSeleniumTest

每次我遵循了同樣的模式:

  1. 在Eclipse中創建項目。
  2. 在GitHub中創建一個同名的回購。
  3. 將該項目添加到本地Git倉庫。
  4. 將項目推送到我創建的遠程GitHub倉庫。

但是如上所述,該TestProject回購下我看到TestProjectWebAppWithSeleniumTest

under the **TestProject** repo I see **TestProject** *and* **WebAppWithSeleniumTest**

然而,WebAppWithSeleniumTest回購協議,我只看到WebAppWithSeleniumTest(如預期)。

Under the **WebAppWithSeleniumTest** repo I only see **WebAppWithSeleniumTest** (as expected)

難道我做錯了什麼?

回答

0

我解決了這個問題。我已經將兩個項目本地添加到同一個存儲庫。因此,當我遠程提交第二個存儲庫時,它承諾了這兩個項目的內容。

+0

我在這裏寫了如何使用Eclipse本地和遠程Git倉庫:http://robertmarkbramprogrammer.blogspot.com.au/2014/10/add-eclipse-project-to-local-and-remote.html – 2014-10-05 05:46:30

相關問題