git 指定公钥 和 gitconfig 配置

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://[email protected]: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


你可能感兴趣的:(config)