安装插件 gitltoolbox
修改免密登录
cd $project/.git/
vim config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://xxxxx:xxxxx@git.xxxx.com/xxxx/xxxx.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "dev"]
remote = origin
merge = refs/heads/dev
[branch "master"]
remote = origin
merge = refs/heads/master