1. 程式人生 > >Git repository 地址修改

Git repository 地址修改

在專案目錄中有一個資料夾: .git

預設為隱藏目錄,可直接輸入地址進去,

[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
url = http://gitlab.incito.com.cn/xx/xxx.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "complaint"]
remote = origin
merge = refs/heads/complaint
[branch "demo"]
remote = origin
merge = refs/heads/demo