pycharm git 新建备忘

git 提交时出现如下错误:

Committer identity unknown

*** Please tell me who you are.

Run

git config --global user.email "[email protected]"

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 "[email protected]"

(venv) PS D:\of172406> git config --global user.name "xxxx"

(venv) PS D:\of172406>

最后设好权限,如下

文件夹右健,

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

相关推荐
醍醐三叶13 分钟前
C++类与对象--2 对象的初始化和清理
开发语言·c++
Magnum Lehar1 小时前
3d游戏引擎EngineTest的系统实现3
java·开发语言·游戏引擎
Mcworld8571 小时前
java集合
java·开发语言·windows
成功人chen某1 小时前
配置VScodePython环境Python was not found;
开发语言·python
2301_786964362 小时前
EXCEL Python 实现绘制柱状线型组合图和树状图(包含数据透视表)
python·microsoft·excel
skd89992 小时前
小蜗牛拨号助手用户使用手册
python
「QT(C++)开发工程师」2 小时前
STM32 | FreeRTOS 递归信号量
python·stm32·嵌入式硬件
海绵宝宝贾克斯儿2 小时前
C++中如何实现一个单例模式?
开发语言·c++·单例模式
史迪仔01122 小时前
[python] Python单例模式:__new__与线程安全解析
开发语言·python·单例模式
胡耀超3 小时前
18.自动化生成知识图谱的多维度质量评估方法论
人工智能·python·自动化·知识图谱·数据科学·逻辑学·质量评估