添加 git设置用户名和邮箱

2025-12-19 15:06:03 +08:00
parent dec8275143
commit a696490049

@@ -0,0 +1,11 @@
# 配置用户名和邮箱(如果还没配置)
git config --global user.name "Your Name"
git config --global user.email "[your.email@example.com](mailto:your.email@example.com)"
# 查看用户名
git config user.name
# 查看邮箱
git config user.email
# 查看远程仓库地址
git config remote.origin.url