2
git设置用户名和邮箱
admin edited this page 2025-12-19 20:54:36 +08:00

配置用户名和邮箱(如果还没配置)

git config --global user.name "Your Name" git config --global user.email "your.email@example.com"

查看用户名

git config user.name

查看邮箱

git config user.email

查看远程仓库地址

git config remote.origin.url

设置远程仓库地址

git remote set-url origin ssh://renjianbo@101.43.95.130:29419/zhini_im_android