2014-10-02 65 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

相关问题