惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
D
Docker
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
月光博客
月光博客
小众软件
小众软件
量子位
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
罗磊的独立博客
博客园 - 叶小钗
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
博客园 - 司徒正美
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
C
Check Point Blog

博客园 - coffee

apache配置http跳转https centos7使用yum安装mysql5.7 Jboot实现Redis操作事件通知 sun.misc.BASE64Encoder找不到jar包的解决方法 apache,请求来源特定域名,重定向到图片域名。 使用cron+php脚本监控后台任务脚本 Shell_exec php with nohup git常用命令 Jenkins+Gitee异常解决 kafka安装和简单测试 statsvn使用小记 java.net.URLEncoder对中文的编码和解码 Apache配置WebSocket代理 php批量检查https证书有效期 504 Gateway Time-out ( Nginx + PHP ) 解决小计 VMware 扩展磁盘容量 查看mysql字符集、修改数据库、数据表、字段字符集 Docker常用命令 Docker 安装 MySQL 学习笔记
使用命令修改git的用户名和提交的邮箱
coffee · 2020-02-11 · via 博客园 - coffee

两句命令

git config --global user.name 你的目标用户名
git config --global user.email 你的目标邮箱名

具体步骤

wang@SVELL-87 MINGW64 /e/project1 (develop)
$ git config user.name
zhangsan

wang@MM-87 MINGW64 /e/project1 (develop)
$ git config user.email
zhangsan@baidu.com

wang@MM-87 MINGW64 /e/project1 (develop)
$ git config --global user.name lisi

wang@MM-87 MINGW64 /e/project1 (develop)
$ git config --global user.email lisi@qq.com

wang@MM-87 MINGW64 /e/project1 (develop)
$ git config user.name
lisi

wang@MM-87 MINGW64 /e/project1 (develop)
$ git config user.email
lisi@qq.cn

wang@MM-87 MINGW64 /e/project1 (develop)
$