-3

当我想使用 git 从“cl”分支合并更改时,我输入:

git merge "merge" HEAD cl

我得到了以下答案:

*请告诉我你是谁。

git config --global user.email "you@example.com"
git config --global user.name "你的名字"

设置您帐户的默认身份。省略 --global 以仅在此存储库中设置身份。

致命:不允许空标识

所以,我输入:

git config  chandler.chen "chen lei"

但是,配置好账户信息后,merge 还是得到原来的结果。

4

2 回答 2

11
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

这对你来说到底是怎么回事git config chandler.chen "chen lei"?!

这是您需要运行的内容:

git config --global user.email "put@your.email.address.here"
git config --global user.name "put your name or nickname here"
于 2012-05-14T12:58:17.647 回答
0

即使修复了身份问题,我也不知道该合并命令要做什么。应该只是git merge cl

于 2012-05-14T13:07:09.873 回答