|
@@ -25,4 +25,23 @@ git push origin master(分支名)
|
|
|
# 暂存区
|
|
|
git status
|
|
|
|
|
|
+# 查看用户名 :git config user.name
|
|
|
+
|
|
|
+# 查看密码: git config user.password
|
|
|
+
|
|
|
+# 查看邮箱:git config user.email
|
|
|
+
|
|
|
+# 查看配置信息: $ git config --list
|
|
|
+
|
|
|
+
|
|
|
+# 修改用户名
|
|
|
+git config --global user.name "xxxx(新的用户名)"
|
|
|
+
|
|
|
+# 修改密码
|
|
|
+git config --global user.password "xxxx(新的密码)"
|
|
|
+
|
|
|
+# 修改邮箱
|
|
|
+git config --global user.email "xxxx@xxx.com(新的邮箱)"
|
|
|
+
|
|
|
+# 开源仓库
|
|
|
gitee github
|