github - 关于 git remote origin 的问题
PHP中文网
PHP中文网 2017-04-22 08:59:50
0
1
535

环境是 win7 64位

用git进任意clone下来的文件夹后输入指令git remote -v后都有两个remote,分别是originupstream

运行很多脚本时会报出以下错误

fatal: remote origin already exists.

网上说的解决方法是输入指令git remote rm origin来删除origin,但是我输入指令后报出以下错误

error: Could not remove config section 'remote.origin'

现在不知道如何是好,希望大家帮助。

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
左手右手慢动作

git clone.......... After executing the remote copy git pull origin master Execute this command to merge the branch with the remote synchronization Submit it later and there should be no problem

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!