git配置
来源:互联网 发布:y系列电动机的技术数据 编辑:程序博客网 时间:2024/06/06 19:58
- 设置用户信息
$ git config --global user.name "John Doe"$ git config --global user.email johndoe@example.com
如果使用了 –global 选项,那么该命令只需要运行一次,因为之后无论你在该系统上做任何事情, Git 都会使用那些信息。 当你想针对特定项目使用不同的用户名称与邮件地址时,可以在那个项目目录下运行没有 –global 选项的命令来配置。
配置默认文本编辑器
Git 会使用操作系统默认的文本编辑器,通常是 Vim。 如果你想使用不同的文本编辑器$ git config --global core.editor emacs
检查配置信息
$ git config --listuser.name=John Doeuser.email=johndoe@example.comcolor.status=autocolor.branch=autocolor.interactive=autocolor.diff=auto...
- 检查git的某一项配置
$ git config user.nameJohn Doe
阅读全文
0 0
- 自定义 Git - 配置 Git
- 【Git】Git配置
- git配置
- GIT 配置
- 配置 Git
- Git配置
- Git 配置
- git配置
- Git 配置
- git配置
- 配置 Git
- git配置
- Git配置
- git 配置
- git 配置
- git配置
- Git 配置
- Git 配置
- elasticsearch之curl操作PUT和POST区别
- struts-文件下载
- iziModal使用过程遇到
- Caffe实战Day1-准备训练数据
- 【全栈工程师】前端深度技术 + 后台大数据处理大分析
- git配置
- 阅读笔记 > 靠“巧合”编程?
- [NOI2004] 郁闷的出纳员
- 函数高级之递归调用,回调函数及原理
- HDU 6161 Big binary tree
- 记录一个暂时没有答案的race condition问题
- 英语基础语法
- 【Spark2.0源码学习】-1.概述
- Longest Palindromic Substring