git push报错:Branch 'master' set up to track remote branch 'master' from 'origin'

Branch 'master' set up to track remote branch 'master' from 'origin'
git上传仓库时报错

解决方法共两步
1、移除
git remote rm origin
2、再次连接
git remote add origin '仓库地址'

  

posted @ 2022-05-29 12:01  lucky_tomato  阅读(1612)  评论(0编辑  收藏  举报