【发布时间】:2012-02-24 09:20:29
【问题描述】:
新手问题:
我将一个文件添加到我的 repo(将它拖到我的 repo 文件夹)然后在 git bash 我“cd”到我的 repo 和“git init”、“git add filename”、“git commit -m 'committing files' ”。当我 git status 它说
$ git status
#on branch master
#your branch is ahead of origin master by 2 commits
#
working directory clean. Nothing to commit.
但是当我在我的 github 网站上刷新页面时,它们并没有出现在我的仓库中。我必须将它们推送到网站吗?
【问题讨论】: