HBuilder git合做-從Git Hub Clone項目

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

相關文章
相關標籤/搜索