03.使用Git之前需要做的最小配置
2018-12-10 本文已影响9人
健倾心语
配置 user.name 和user.email
作用:登记相关的用户以记录变更信息后是谁变更的
命令:(缺省等同于local)
git config --local 只对某个仓库有效
git config --global 对当前用户所有仓库有效
git config --system 对当前系统所有登录的用户有效
git config --local user.name 'crj'
git config -- local user.email '1721713949@qq.com'
显示config的配置 ,加--list
git config --list --local
git config --list --global
git config --list --system
显示当前目录路径命令:pwd