|
Revision 11661, 0.6 kB
(checked in by cho45, 5 years ago)
|
|
Add my .gitconfig
|
| Line | |
|---|
| 1 | [user] |
|---|
| 2 | name = cho45 |
|---|
| 3 | email = cho45@lowreal.net |
|---|
| 4 | |
|---|
| 5 | [alias] |
|---|
| 6 | st = status |
|---|
| 7 | di = diff |
|---|
| 8 | co = checkout |
|---|
| 9 | ci = commit |
|---|
| 10 | br = branch |
|---|
| 11 | srd = svn rebase |
|---|
| 12 | lc = log ORIG_HEAD.. --stat --no-merges |
|---|
| 13 | hub-url = !ruby -e 'puts (%Q{http://github.com/%s/%s/tree/master/} + %x{git rev-parse --show-prefix}) % %x{git config -l}.match(%r{^remote.origin.url=git@github.com:([^/]+)/([^.]+).git}).captures' |
|---|
| 14 | hub = !open $(git hub-url) |
|---|
| 15 | |
|---|
| 16 | [color] |
|---|
| 17 | branch = auto |
|---|
| 18 | status = auto |
|---|
| 19 | |
|---|
| 20 | [color "branch"] |
|---|
| 21 | current = red |
|---|
| 22 | local = yellow |
|---|
| 23 | remote = green |
|---|
| 24 | |
|---|
| 25 | [color "status"] |
|---|
| 26 | added = yellow |
|---|
| 27 | changed = green |
|---|
| 28 | untracked = cyan |
|---|
| 29 | |
|---|
| 30 | |
|---|