git 提交时出现如下错误:
Committer identity unknown
*** 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.
fatal: unable to auto-detect email address (got 'Administrator@DESKTOP-EJH0A7C.(none)')
按提示,在虚拟环境中进行操作,ok
(venv) PS D:\of172406> git config --global user.email "xxxx@126.com"
(venv) PS D:\of172406> git config --global user.name "xxxx"
(venv) PS D:\of172406>
最后设好权限,如下
文件夹右健,
在此可以设置密码,区别不同人使用