Geeks

baijunyao/gitconfig-demo

  • gitconfig-demo GitHub
  • MarkdownReadme
  • 0Issues
  • 0Stargazers
  • 2Watchers

Git Config

Features

  • Set user and email according to the directory
  • Ignore files globally

Installation

git clone git@github.com:baijunyao/gitconfig-demo.git ~/Sites/gitconfig

Usage

Add the following code to the ~/.gitconfig

[include]
    path = ~/Sites/gitconfig/.gitconfig

Links

  • 非常实用的为公司和个人项目分别设置 Git User 的方案

Share to

Contact site admin: Geeks.