1.Clone项目git
打开”Git Respository"视图,选“Clone a Git Respository"github
2.为了能正确pull项目,全部队员都必须作如下配置(其始只是初始化的那个项目)fetch
文件内容照下面改:url
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "origin"]
url = https://github.com/bearhb/Demo.git (修改成本身的url)
fetch = +refs/heads/*:refs/remotes/origin/*
spa