我是个新手.我刚刚用4个新文件test1 test2 test3 test4创建了一个新项目.然后我所做的就是以下内容:
$ git init
$ git add .
$ git commit -m "VERY 1st commit"
Run Code Online (Sandbox Code Playgroud)
就如此容易.
然后我添加了一个远程仓库也是我刚刚在bitbucket.org创建的一个全新的仓库
$ git remote add rakspace http://syedrakib@bitbucket.org/syedrakib/mysamplegit
$ git push rakspace
Run Code Online (Sandbox Code Playgroud)
正如你所知道的那样,全新的工作空间被推入一个全新的回购中.它返回:
一切都是最新的
我在这里做错了什么?很明显,远程仓库的源文件没有得到更新.
编辑:我在我的本地仓库有2个分支:*master*和*new_branch*