Github Git推送-一切都是最新的?

Github Git推送-一切都是最新的?,github,Github,Git新手这里-我设置了一个Git存储库,该存储库正在运行,并且已经推送了一些提交。我现在对代码进行了更改,并尝试推送新的更新,但我不断得到: 我做了一个: git commit -m "message" 然后: 我不知道我哪里出错了 git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified

Git新手这里-我设置了一个Git存储库,该存储库正在运行,并且已经推送了一些提交。我现在对代码进行了更改,并尝试推送新的更新,但我不断得到:

我做了一个:

git commit -m "message"
然后:

我不知道我哪里出错了

git status


# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       modified:   Makefile
#       modified:   weather-station
#       modified:   weather-station.c
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       .gitignore
git状态
#论分行行长
#要提交的更改:
#(使用“git重置磁头…”取消分级)
#
#修改:Makefile
#修改:气象站
#修改:气象站
#
#未跟踪的文件:
#(使用“git add…”包含在将提交的内容中)
#
#.gitignore
如果我看一下github上的代码,它很旧,而且更改还没有同步


你知道我哪里出了问题,或者我如何解决这个问题吗?

你必须使用
git add
git commit-a
提交文件(查看手册)。你也可以使用GitGUI来查看在银行里发生了什么-我想我现在已经开始工作了。找到了这个有帮助的网站。
git status


# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       modified:   Makefile
#       modified:   weather-station
#       modified:   weather-station.c
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       .gitignore