Skip to content

driver2000/git-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

A simple .gitconf Template

a .gitconf file template

How to install

$ git clone https://github.com/driver2000/git-dotfiles.git
$ mkdir ~/.git.d
$ ln -s git-dotfiles/gitconfig ~/.git.d/gitconfig

Git (1.7.10+) now supports this syntax in .gitconfig:

[include]
    path = ~/.git.d/gitconfig

Add your user and email

$ git config --local user.name your name
$ git config --local user.email your_mail@mail.com

if you want set user.name and user.email globally use --global instead --local or edit the conf file directly :

$ git config -e [--global]

Fork it !

About

a .gitconf file template

Resources

Stars

Watchers

Forks

Packages

No packages published