增加远程地址:
git remote add [name] [url]
参考:https://docs.github.com/cn/free-pro-team@latest/github/using-git/adding-a-remote
推代码:
git push [name]
如果报错error: src refspec XXX matches more than one,
则参考:https://github.com/fygethub/blog/issues/9
要么删除branch,要么删除tag
博客介绍了Git操作,包括增加远程地址的命令git remote add [name] [url],并给出参考链接。还提及推代码的命令git push [name],若报错error: src refspec XXX matches more than one,可参考指定链接,解决办法是删除branch或tag。
873

被折叠的 条评论
为什么被折叠?



