git和GitHub
当从本地代码库整合到GitHub(远程代码库)时,有可能会被指责。
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
Everything up-to-date
似乎是因为远程仓库中没有主分支,所以需要在推送时添加选项。
$ git push -u origin master
当从本地代码库整合到GitHub(远程代码库)时,有可能会被指责。
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
Everything up-to-date
似乎是因为远程仓库中没有主分支,所以需要在推送时添加选项。
$ git push -u origin master