技术栈

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
相关推荐
减瓦
16 小时前
Windows 环境使用 Git Bash 最佳实践
windows·git
史呆芬
16 小时前
CodeX多仓库提交Skill搭建
git·后端·openai
城东
17 小时前
Git使用[原意要新建分支提交但是误提交到原来分支恢复办法]
git·原意要新建分支提交·但是误提交到原来分支
开发者联盟league
17 小时前
git 压缩本地最近多个commit
git
赵庆明老师
1 天前
Vben精讲:04-了解VSCode中的Git
ide·git·vscode
Irissgwe
1 天前
第 5 篇:Git 分支基础:branch、checkout、merge 和冲突解决
git
liberalhumblehopeful
1 天前
git代码管理-分支差距过大如何进行同步
git
一只楚楚猫
2 天前
一篇文章入门Git工具
git
Irissgwe
2 天前
第 6 篇:Git 分支进阶:分支策略、stash、bugfix 和 feature 开发
git
热门推荐
012026 AI 编程工具终极实战指南:Cursor vs Claude Code vs Copilot,开发者该怎么选?02GitHub 镜像站点032026 年 AI 编程工具终极横评:Cursor vs Claude Code vs Copilot vs Windsurf04AI 编程 IDE 全景解析 2026:Agent 全面接管开发链路052026 年 AI 大模型 & AI 编程工具实战全总结06AI科技热点日报 | 2026年07月01日07【AI】2026 年具身智能模型和世界模型总结082026 AI 编程工具选型横评:Cursor / Claude Code / Trae / Copilot 到底选谁(建议收藏·避坑版)092026年7月AI圈大地震:GPT-5.6被政府限制、Claude入驻Slack、Anthropic自研芯片10Claude Code、Codex、Cursor三分天下:2026年AI编程Agent生态全景剖析