0
我是Git和Github的新手。我创建了一个存储库,但无法添加文件并在终端上进行更新。无法更新github上的存储库
到目前为止,只有已工作的事情是$ git add .
当我尝试做$ git push
它说:
error: failed to push some refs to '[email protected]:emailadress'
当我尝试做$ git pull
它说:
You have not concluded your merge (MERGE_HEAD exists).
当我尝试做$ git status
它说:
Changes to be committed:
modified: .DS_Store
modified: README
我该怎么办?
谢谢。我试过了,它修复了它。问问你是否可以解释那条线是干什么的? – Mahir
当然,但它是如何工作的基础,所以我肯定会建议看看[git教程](http://schacon.github.com/git/gittutorial.html)。基本上,您告诉git“保存”您在git存储库中所做的任何更改。你用'git add .'添加了要跟踪的文件,并且需要用'git commit'保存这个改变(你添加了文件)。你可以找到像这样的特定命令的帮助:'git help commit' – mattyohe