git push 提示 Everything up-to-date
怪我咯
怪我咯 2017-04-24 09:10:29
0
4
839

我在github上已经建立一个仓库master(之前的git config --global 之类都已经做好了) 然后clone下到本地,进行操作在更改文件后 进行提交 提示Everything up-to-date
搜索一下说是 提交到了本地的仓库没有提交到线上。

git add . git commit 都执行过的

$ git push origin master
Everything up-to-date

$ git remote -v
origin  git@github.com:gitgitcode/test.git (fetch)
origin  git@github.com:gitgitcode/test.git (push)
$ git branch
* master


这个问题,有的时候有没有让人头痛。 还是对文档不熟悉啊……

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(4)
黄舟

git status Let’s see what’s going on first.

洪涛

You don’t have git add yet. git commit

左手右手慢动作

I encountered this once, because I created a local branch, and just merged after entering the master.

黄舟

Are you sure you committed? Take a look at the git log

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!