Skip to main content

8 posts tagged with "git"

View All Tags

Git 忽略机制

· 4 min read

Git 提供三个层级的忽略机制,作用范围依次为团队级、仓库级、机器级。

Git 利用 includeIf 配置不同目录不同邮箱身份

· 3 min read
Alan
Maintainer of the Blog

一般个人项目和公司项目要用不用的 user.nameuser.email,一般情况下每次clone新项目,都要在项目根目录执行以下命令设置项目的邮箱账号信息:

git config --local user.name xxxx
git config --local user.email xxxx@yyy.com