0、git Please tell me who you are解决方法
你在命令行中执行
git config –global user.email “你的邮箱”
git config –global user.name “你的名字”
(注意 “ 前面是有空格的)
输入完后再接着执行git commit 即可成功!
1、error: failed to push some refs to ‘[email protected]:XXXX/XXXX’
hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
2、Your local changes to the following files would be overwritten by merge
error: Your local changes to the following files would be overwritten by merge: protected/config/main.php Please, commit your changes or stash them before you can merge.
3、Pull is not possible because you have unmerged files
Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then use 'git add/rm <file>' as appropriate to mark resolution, or use 'git commit -a'.
4、CONFLICT (content):Merge conflict in readme.txt
$ git merge feature1 Auto-merging readme.txt CONFLICT (content):Merge conflict in readme.txt Automatic merge failed; fix conflicts andthen commit the result.
5、The branch ‘feature-vulcan’ is not fully merged.
error:The branch 'feature-vulcan' is not fully merged. If you are sure you want to delete it, run 'git branch -D feature-vulcan'.
6、Please move or remove them before you can merge. Aborting
blog.51cto.com/qiangsh/1769956