git 设置 用户名和信箱
2015-12-15 00:00
477 查看
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.
Some tools will assume your github config is in the same place (http://github.com/blog/180-local-github-config):
[~]$ 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.
Some tools will assume your github config is in the same place (http://github.com/blog/180-local-github-config):
[~]$ git config --global github.user lubin
[~]$ git config --global github.token 6ef8395fecf207165f1a82178ae1b984
相关文章推荐
- RPC failed; result=22, HTTP code = 411
- git更新已經刪除的文件
- 提取Git每次提交后Commit的文件
- GIT迁移服务器
- 分布式版本管理git入门指南使用资料汇总及文章推荐
- 纪念blog发文100篇
- git终极指南:在实际开发中的应用
- GMail 终于开放注册了
- 博客备份工具 Blog Backup v0.6.1 下载
- 使用Google工具栏追踪 Blog 留言
- GMail Drive v1.0.12 beta汉化最新版 下载
- IMAIL多语言模板两套Outlook&Gmail模板下载
- JavaScript blog式日历控件新算法
- [asp]天枫AJAX blog V1.0 程序提供下载了
- 在ASP.NET2.0中通过Gmail发送邮件的代码
- SXNA RSS Blog 聚合器程序
- LBS blog sql注射漏洞[All version]-官方已有补丁
- phpmailer发送gmail邮件实例详解
- PHP多用户博客系统分析[想做多用户博客的朋友,需要了解]第1/3页
- python使用smtplib模块通过gmail实现邮件发送的方法