0 file committed, 70 files failed to commit: create powerful app ***
Please tell me who you are. Run git config --global
user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity. Omit --global to set the
identity only in this repository. empty ident name (for
) not allowed
从上面可知,就是叫你配置用户名和邮箱,没有就不给你提交。
找到.git文件夹
这个项目是在码云上的,需要和其他代码管理平台分开。打开项目所在目录,找到隐藏的.git文件夹。
配置config
打开文件夹里的config文件,添加下面三行代码到文件
[user]
name = 用户名
email =邮箱地址
或者在 .git 文件夹下,通过命令行的方式
git config user.name 用户名
git config user.email 邮箱地址
最后
通过上面的配置,大功告成。