git push 报错fatal the current branch master has no upstream branch和Everything up-to-date

阳光穿透心脏的1/2处 2022-04-15 01:42 691阅读 0赞

git push 之前先 git add .和git commit -m ‘描述性语言’(别让自己感觉自己很蠢。。。 哎)

1.fatal the current branch master has no upstream branch

建立远程分支关联即可 (本地远程master)

一种: git push —set-upstream 地址 master

2.Everything up-to-date

原因:
1)没有git add .
2)没有git commit -m “提交信息”

发表评论

表情:
评论列表 (有 0 条评论,691人围观)

还没有评论,来说两句吧...

相关阅读