github在统计提交的时候,会判断邮箱是否跟github的登陆邮箱匹配,不匹配则不计算活跃度,即不生成小绿块。
...
今天获取git线上仓库代码报了这个错误:
camnpr@com:~/code/camnpr-api$ git pull
You have not concluded your merge (MERGE_HEAD exists).
Please, commit your changes before you can merge.
错误可能是因为在你以前pull下来的代码没有自动合并导致的.
有2个解决办法:
一,下载linux版smartgit
下载地址:http://www.syntevo.com/smartgit/download
对于windows下的安装,更简单。这里就不再说明了。
二,安装git
当我在cmd窗口中用下边命令时:
C:\Camnpr> bower install jquery-ui#1.9.2
出现 Bower : ENOGIT git is not installed or not in the PATH错误,则需要配置你的Git到path,具体如下
获取代码有两种地址:SSH和HTTP, 本错误,请使用SSH地址来Clone,例如:git@gitlab.camnpr.com:website/product-ui-docs.git
我在上传些代码的时候,有时候会遇到“git did not exit cleanly (exit code 128)”错误。通常都是网络原因。