1.Clone项目
打开”Git Respository"视图,选“Clone a Git Respository"
2.为了能正确pull项目,所有队员都必须做以下配置(其始只是初始化的那个项目)
文件内容照下面改:
[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/*