Git: local identity.
~/.gitlocal works only in Git 1.7.10.2 but .gitlocal works in 1.7.10.
This commit is contained in:
parent
3916e1e0c8
commit
4818757bb1
@ -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/).
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user