标签:config ash color username mail 客户端 mic name 修改
点击Git Bash Here
git clone 把项目从GitLab上复制下来

用户名和邮箱地址的作用
用户名和邮箱地址是本地git客户端的一个变量,不随git库而改变。
每次commit都会用用户名和邮箱纪录。
github的contributions统计就是按邮箱来统计的。
查看用户名和邮箱地址:
$ git config user.name
$ git config user.email
修改用户名和邮箱地址:
$ git config --global user.name "username"
$ git config --global user.email "email"
git commit -m ‘修复了什么问题‘
git pull origin 更新代码
git push origin 提交到远程分支上
进入master

查看分支

删除分支

创建分支

进入分支

分支提交到gitLab上去

标签:config ash color username mail 客户端 mic name 修改
原文地址:https://www.cnblogs.com/Lolita-web/p/12712630.html