【发布时间】:2015-03-05 15:38:41
【问题描述】:
为什么我无法从我的 Mac 更新我的 GitHub?
git status 产生以下内容:
On branch master Changes to be committed: (use "git reset HEAD
<file>..." to unstage)
new file: file.test
Untracked files: (use "git add <file>..." to include in what will be
committed)
.DS_Store
git push 产生以下内容;
fatal: The current branch master has no upstream branch. To push the
current branch and set the remote as upstream, use
git push --set-upstream origin master
【问题讨论】: