Git更改远程代码仓地址
修改.git文件夹下的cofnig文件,将[remote "origin"]地址修改为新的目标代码仓地址:
[remote "origin"] url = git@code.yun.com:123456/XXX/XXX/Code1.git fetch = +refs/heads/*:refs/remotes/origin/*
根据实际分支情况修改[branch "master"]:
[branch "master"] remote = origin merge = refs/heads/master
修改完成后,强制推送
git push origin master -f
微信搜索“Kconfig”,获取支持...