Github无法提交代码如何解决?

Github提交出现Branch master set up to track remote branch master from origin问题,未能成功提交代码,请问此问题如何解决?

hasee-pc@DESKTOP-7PBMCRK MINGW64 /d/Program Files/wamp/www/FrontCodeCollection (master)
$ git pull origin master
From https://github.com/Mr-houzi/FrontCodeCollection
 * branch            master     -> FETCH_HEAD
Already up-to-date.

hasee-pc@DESKTOP-7PBMCRK MINGW64 /d/Program Files/wamp/www/FrontCodeCollection (master)
$ git push -u origin master
Everything up-to-date
Branch master set up to track remote branch master from origin.
MYYA
浏览 1643回答 3
3回答

扬帆大鱼

添加到本地仓库 git add . 添加提交描述 git commit -m '内容' 提交前先从远程仓库主分支中拉取请求 git pull origin master 把本地仓库代码提交 git push -u origin master

小唯快跑啊

请先git add . git commit '内容'

呼唤远方

有可能是ssh的事情,设置一个key
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java