随笔分类 -  git

摘要:在git中,我们使用git config 命令用来配置git的配置文件,git配置级别主要有以下3类: 1、仓库级别 local 【优先级最高】 2、用户级别 global【优先级次之】 3、系统级别 system【优先级最低】 通常: git 仓库级别对应的配置文件是当前仓库下的.git/conf 阅读全文
posted @ 2020-12-16 21:13 fire909090 阅读(402) 评论(0) 推荐(0) 编辑
摘要:config 配置指令 1 git config config 配置有system级别 global(用户级别) 和local(当前仓库)三个 设置先从system-》global-》local 底层配置会覆盖顶层配置 分别使用--system/global/local 可以定位到配置文件 查看系统 阅读全文
posted @ 2020-11-09 16:32 fire909090 阅读(732) 评论(0) 推荐(0) 编辑