设置git用户名和邮箱
来源:互联网 发布:json字符串base64加密 编辑:程序博客网 时间:2024/05/19 05:02
Guides: Tell git your user name and email address
Git needs to know your username and email address to properly tag your commits. This is normally done on a global level:
[~]$ git config --global user.name "lubin"
[~]$ git config --global user.email lubin.z@gmail.com
You can override these settings on a per-repo basis:
[~/path/to/repo]$ git config user.name "lubin"
[~/path/to/repo]$ git config user.email lubin.z@gmail.com
This change will only affect future commits. Past commits will retain the username and address they were committed with.
[~]$ git config --global github.user lubin
[~]$ git config --global github.token 6ef8395fecf207165f1a82178ae1b984
Git needs to know your username and email address to properly tag your commits. This is normally done on a global level:
[~]$ git config --global user.name "lubin"
[~]$ git config --global user.email lubin.z@gmail.com
You can override these settings on a per-repo basis:
[~/path/to/repo]$ git config user.name "lubin"
[~/path/to/repo]$ git config user.email lubin.z@gmail.com
This change will only affect future commits. Past commits will retain the username and address they were committed with.
这里说一句,上面这两个都是配置邮箱和用户名, 一个是global ,另一个没有global。 我是先配置了global的 ,可是不管用, 直到配置了下面不加global的才好用的。
原因大概是 ,当全局的 和 本地的配置同时存在时, 是有一个取舍顺序的, 即先取本地的, 后取全局的。
[~]$ git config --global github.user lubin
[~]$ git config --global github.token 6ef8395fecf207165f1a82178ae1b984
0 0
- 设置git用户名和邮箱
- Git设置用户名和邮箱
- Git设置用户名和邮箱
- git配置文件config用户名和邮箱的设置和查看
- git配置文件config用户名和邮箱的设置和查看
- git安装以及设置ssh,用户名和邮箱
- git配置用户名和邮箱
- git 配置用户名和邮箱
- Git修改用户名和邮箱
- git配置用户名和邮箱
- git修改用户名和邮箱
- git查看修改用户名和邮箱
- Git查看修改用户名和邮箱
- Git查看修改用户名和邮箱
- git 怎么修改用户名和邮箱
- Git 如何查看和修改用户名、邮箱?
- 初次安装git配置用户名和邮箱
- GIT(3)GIT全局配置(用户名和邮箱)
- Oracle创建用户、表空间、导入导出、...命令
- 记修改论文的感受
- 【连载】 .Net cad二次开发(二)
- YTU 2887: D--机器人Bill
- poj 1094 Sorting It All Out 【拓扑排序】
- 设置git用户名和邮箱
- C++ sizeof各种类型的大小
- SQLServer锁的概述
- C++面试题
- Centos6.5 上Ansible 对Windows 管控
- 数据中心模块化和标准化(5-1)
- Oracle建立表空间和用户
- 用apache代理实现整合多个tomcat
- 自组织映射网络和学习向量量化网络