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>

最后设好权限,如下

文件夹右健,

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

相关推荐
Hanson8512 分钟前
系统性能优化总结与思考-第一部分
java·开发语言
怪兽小28 分钟前
在PyCharm中配置Anaconda虚拟环境作为终端环境
ide·python·pycharm
EverestVIP30 分钟前
qt中,父类中有Q_OBJECT,子类中还需要加Q_OBJECT吗
开发语言·qt
x-cmd33 分钟前
x-cmd install | jellex - 用 Python 语法在终端里玩转 JSON 数据!
开发语言·python·json·命令行终端
江沉晚呤时36 分钟前
CAP 定理与 BASE 定理在 .NET Core 中的应用
java·服务器·开发语言·前端·.netcore
未定义.2211 小时前
Java设计模式实战:装饰模式在星巴克咖啡系统中的应用
java·开发语言·设计模式·软件工程
只因妮泰妹1 小时前
Python基础知识(一、基础语法)
开发语言·windows·python
alicema11111 小时前
Python-Django集成yolov识别模型摄像头人数监控网页前后端分离
开发语言·后端·python·算法·机器人·django
满怀10151 小时前
【Python全栈】应用开发实战案例解析
开发语言·python