Discuss / Git / git配置文件及其命令

git配置文件及其命令

Topic source

假蛙

#1 Created at ... [Delete] [Delete and Lock User]

git config

l 系统级配置 git conifg --system  配置文件路径~/.gitconifg

l 用户级配置 git config --global  配置文件路githome/etc/gitconfig

l 仓库级配置 git config --local   配置文件路径gitrepo/.git/config

练落

#2 Created at ... [Delete] [Delete and Lock User]

不对吧,我使用的是global全局配置,然后在users下生成了一个.gitconfig文件,所以这个应该是用户级配置才对


  • 1

Reply