applematoMacBook-Pro:cmb apple$ vi .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = ssh://dev@nav.fun-guide.mobi:6521/home/dev/git/cmb.git
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "cmb-dingcan"]
remote = origin
merge = refs/heads/cmb-dingcan
~
Host git.magus-soft.com
HostName git.magus-soft.com
Port 6521
User git
IdentityFile ~/.ssh/iphone_git
~
/.ssh/config
本文介绍了一个具体的Git配置案例,展示了如何设置Git项目的远程仓库地址、SSH密钥等关键信息,并详细列出了各分支对应的远程分支。
1175

被折叠的 条评论
为什么被折叠?



