davewhit3 / git-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forked from https://bitbucket.org/pkoltermann/git-config

Thanks @pkoltermann

Git configuration template

Installation

  1. Get the files
git clone https://github.com/bialas1993/git-config.git ~/.git-config
ln -sf ~/.git-config/gitconfig ~/.gitconfig
cp ~/.git-config/examples/.* ~/
  1. Customize ~/.gitconfig_private and ~/.gitignore_global.
  2. Voila.

Global hooks

git config --global init.templatedir '~/.git-config'

Command add global git directory struct - copy your hooks to any git repository when you execute git init

About

License:MIT License


Languages

Language:Shell 84.7%Language:PHP 15.3%