Git/配置:修订间差异
来自康健生活
创建页面,内容为“ == 用户设置 == {{Shc_out|<syntaxhighlight lang="bash"> git config --list</syntaxhighlight>|<syntaxhighlight lang="bash"> credential.helper=osxkeychain user.name=kangjian user.email=kangjian@360.cn </syntaxhighlight>|➜ ~}} === --global === 设置全局用户信息。 {{shc|<syntaxhighlight lang="bash"> git config --global user.name "kangkk" && \ git config --global user.email "365@kangkk.com"</syntaxhighlight>|$|/home/kangkk}} === --local === 单独设…” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
== 初始化 == | |||
{{shc|<syntaxhighlight lang="bash"> | |||
git init</syntaxhighlight>|$|/home/kangkk}} | |||
== 用户设置 == | == 用户设置 == | ||