git remote add origin [email protected] --error orgin
此时在错误的origin上进行提交代码 就会报错
fatal: remote error: Permission denied
想要撤回错误的origin需
git remote rm orgin
然后再给出正确的origin
git remote add origin [email protected] --correct orgin
就可以正确提交代码了
git remote add origin [email protected] --error orgin
此时在错误的origin上进行提交代码 就会报错
fatal: remote error: Permission denied
想要撤回错误的origin需
git remote rm orgin
然后再给出正确的origin
git remote add origin [email protected] --correct orgin
就可以正确提交代码了