Git: local identity.

~/.gitlocal works only in Git 1.7.10.2 but .gitlocal works in 1.7.10.
This commit is contained in:
Artem Sapegin 2012-11-28 12:21:17 +04:00
parent 3916e1e0c8
commit 4818757bb1
2 changed files with 10 additions and 5 deletions

View File

@ -47,6 +47,13 @@ Installs Chrome and makes it default browser.
## Tips & Tricks
### Local Git identity
```
git config -f ~/.gitlocal user.email "artem@sapegin.ru"
git config -f ~/.gitlocal user.name "Artem Sapegin"
```
### How to remove US English keyboard layout on Mac OS X
Useful when you use some kind of [typography layout](http://ilyabirman.ru/projects/typography-layout/).

View File

@ -48,9 +48,7 @@
# Include local settings
# Requires Git 1.7.10
# Example:
# [user]
# name = Artem Sapegin
# email = artem@sapegin.ru
# git config -f ~/.gitlocal user.email "artem@sapegin.ru"
# git config -f ~/.gitlocal user.name "Artem Sapegin"
[include]
path = ~/.gitlocal
path = .gitlocal