技术栈

git操作基本指令

前端小砖er2024-03-03 4:07

1.查看用户名

git config user.name

2.查看密码

git config user.password

3.查看邮箱

git config user.email

4.修改用户名

git config --global user.name "xxx(新用户名)"

5.修改密码

git config --global user.password "xxx(新密码)"

6.修改邮箱

git config --global user.email "xxx@xx.com(新邮箱)"

7.查看git的基本配置

git config --list

上一篇:git安装与使用4.3
下一篇:git介绍4.2
相关推荐
开发者联盟league
3 分钟前
git commit报错No .pre-commit-config.yaml file was found
git
猫老板的豆
5 小时前
git实战
git
风曦Kisaki
5 小时前
# Linux实战笔记-HIS项目实战Day01:版本控制与Git基础
linux·笔记·git
鲸~屿
8 小时前
Git上传本地文件到GitHub教学指南
git·github
减瓦
1 天前
Windows 环境使用 Git Bash 最佳实践
windows·git
史呆芬
1 天前
CodeX多仓库提交Skill搭建
git·后端·openai
城东
1 天前
Git使用[原意要新建分支提交但是误提交到原来分支恢复办法]
git·原意要新建分支提交·但是误提交到原来分支
开发者联盟league
1 天前
git 压缩本地最近多个commit
git
赵庆明老师
2 天前
Vben精讲:04-了解VSCode中的Git
ide·git·vscode
热门推荐
012026 AI 编程工具终极实战指南:Cursor vs Claude Code vs Copilot,开发者该怎么选?022026 年 AI 编程工具终极横评:Cursor vs Claude Code vs Copilot vs Windsurf03GitHub 镜像站点042026 年 AI 大模型 & AI 编程工具实战全总结05AI科技热点日报 | 2026年07月01日06AI 编程 IDE 全景解析 2026:Agent 全面接管开发链路07【AI】2026 年具身智能模型和世界模型总结082026 AI 编程工具选型横评:Cursor / Claude Code / Trae / Copilot 到底选谁(建议收藏·避坑版)09Claude Code、Codex、Cursor三分天下:2026年AI编程Agent生态全景剖析102026年7月AI圈大地震:GPT-5.6被政府限制、Claude入驻Slack、Anthropic自研芯片