一. 提交代码失败
Commit fliled - exit code 128 received, with output **** Please tell me who youare.
Error
❾
Commit fliled - exit code 128 received, with output **** Please tell me who youare.
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 identty only in this repositony.
fatal: unable to auto-detect email address (got "kxf@DESKTOP-BGKDNVH.(none)
Close
其实就是想让你设置默认提交的用户名和邮箱,选择file 》 options》git 》填写name和email 》save
再提交就没问题了
二.工程被锁定
A lock file already exists in the repository, which blocks this operation from completing.
找到工程目录,工程根目录下有个 index.lock 文件,删除该文件就可以了
再提交或者更新代码就没问题了