赞
踩
VCS》Git》Remotes
选中项目,编辑地址保存即可
查看远程库的名字
git remote
查看远程库:别名、地址
git remote -v
添加远程库地址
git remote add
远程仓库名
远程地址
远程仓库名: origin
远程地址:git@github.com:jerryjin0803/xxx.git
git remote add origin git@github.com:jerryjin0803/liu6.git
git remote set-url
远程仓库名
远程地址
origin
git@github.com:jerryjin0803/xxx.git
git remote set-url origin git@github.com:jerryjin0803/liu6.git
修改url
即可
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = git@110.120.119.256:xxx/yyy.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。