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>

最后设好权限,如下

文件夹右健,

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

相关推荐
曲幽7 小时前
FastAPI 身份验证总踩坑?这份 FastAPI Users “避坑指南”请收好
python·fastapi·web·jwt·oauth2·user·authentication
xieliyu.7 小时前
Java算法精讲:双指针(二)
java·开发语言·算法
装不满的克莱因瓶7 小时前
掌握 RNN 与 LSTM 模型结构
人工智能·python·rnn·深度学习·神经网络·ai·lstm
何以解忧,唯有..7 小时前
Python包管理工具pip:从入门到精通
开发语言·python·pip
雪的季节8 小时前
RabbitMQ详解
开发语言
金銀銅鐵8 小时前
用 Tkinter 实现简单的猜数字游戏
后端·python
copyer_xyf8 小时前
Python 模块与包的导入导出
前端·后端·python
ice8130331818 小时前
【Python】Matplotlib折线图绘制
开发语言·python·matplotlib
三品吉他手会点灯8 小时前
C语言学习笔记 - 44.运算符和表达式 - 运算符2 - 除法与取余运算符
c语言·开发语言·笔记·算法
copyer_xyf8 小时前
Python venv 虚拟环境
前端·后端·python