pycharm git 新建备忘

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>

最后设好权限,如下

文件夹右健,

在此可以设置密码,区别不同人使用

相关推荐
做怪小疯子6 小时前
华为笔试0429
python·numpy
Warson_L6 小时前
Dictionary
python
JAVA面经实录9176 小时前
Java企业级工程化·终极完整版背诵手册(无遗漏、全覆盖、面试+落地通用)
java·开发语言·面试
周杰伦fans7 小时前
AutoCAD .NET 二次开发:深入理解 EntityJig 的工作原理与正确实现
开发语言·.net
寒山李白8 小时前
解决 python-docx 生成的 Word 文档打开时弹出“无法读取内容“警告
python·word·wps·文档·docx·qoder
2401_832365529 小时前
JavaScript中rest参数(...args)取代arguments的优势
jvm·数据库·python
Sirius.z9 小时前
第J3周:DenseNet121算法详解
python
Bat U9 小时前
JavaEE|多线程初阶(七)
java·开发语言
谭欣辰9 小时前
C++ 排列组合完整指南
开发语言·c++·算法