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>

最后设好权限,如下

文件夹右健,

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

相关推荐
杜子不疼.几秒前
Python + Selenium + AI 智能爬虫:自动识别反爬与数据提取
人工智能·python·selenium
财经资讯数据_灵砚智能2 分钟前
基于全球经济类多源新闻的NLP情感分析与数据可视化(日间)2026年4月8日
大数据·人工智能·python·信息可视化·自然语言处理
山甫aa5 分钟前
STL---常见数据结构总结
开发语言·数据结构·c++·学习
斌味代码6 分钟前
Next.js 14 App Router 完全指南:服务端组件、流式渲染与中间件实战
开发语言·javascript·中间件
WangJunXiang68 分钟前
初识Flask框架
后端·python·flask
郝学胜-神的一滴8 分钟前
玩转PyTorch:detach函数破解自动微分张量转numpy难题
人工智能·pytorch·python·深度学习·机器学习·numpy
无限进步_10 分钟前
【C++】反转字符串的进阶技巧:每隔k个字符反转k个
java·开发语言·c++·git·算法·github·visual studio
智算菩萨12 分钟前
【Python图像处理】6 图像色彩空间转换与通道操作
开发语言·图像处理·python
kaico201813 分钟前
python基础
开发语言·python
蛾子喵喵喵13 分钟前
autodl查看界面
python