克隆testing库并导入eclipse中
一、克隆testing库并导入eclipse中
方法一:
1、File->Import->Git-Projects from Git->URI,在弹出的对话框中输入URI:ssh://git@svrdev/testing
2、选择库中的一个分支,这里选择master分支
3、选择Initial branch(因为上一步只选择了master分支,所以这里只有master)
4、勾选Import existing projects(默认)
5、选择库中某个工程(默认勾选了test)
方法二:
1、在Git Repositories视图中,点击Clone a Git Repository and add the clone to this view图标按钮
2、在弹出的对话框中输入URI:ssh://git@svrdev/testing
3、选择库中的一个分支,这里选择master分支
4、选择Initial branch(因为上一步只选择了master分支,所以这里只有master)
到此,已将testing库克隆到本地,然后需要将testing导入到Eclipse中。
5、File->Import->Git-Projects from Git->Local,在弹出的对话框中选择testing
6、勾选Import existing projects(默认)
7、选择库中某个工程(默认勾选了test)