Mercurial > dotfiles
annotate git/gitconfig @ 494:76defcf6bf02
Add gvimrc file.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 12 Nov 2021 10:50:18 -0800 |
parents | 16cac382ca7c |
children |
rev | line source |
---|---|
493
16cac382ca7c
Set vim as editor for git.
Ludovic Chabant <ludovic@chabant.com>
parents:
464
diff
changeset
|
1 [core] |
16cac382ca7c
Set vim as editor for git.
Ludovic Chabant <ludovic@chabant.com>
parents:
464
diff
changeset
|
2 editor = vim |
16cac382ca7c
Set vim as editor for git.
Ludovic Chabant <ludovic@chabant.com>
parents:
464
diff
changeset
|
3 |
464
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
4 [user] |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
5 name = Ludovic Chabant |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
6 email = ludovic@chabant.com |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
7 |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
8 [push] |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
9 default = simple |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
10 |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
11 [alias] |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
12 tags = tag -l |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
13 branches = branch -a |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
14 remotes = remote -v |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
15 lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
16 lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
17 lg = !"git lg1" |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
18 |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
19 [include] |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
20 path = gitconfig-${OS} |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
21 path = gitconfig-local |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
22 |
2279514d82e4
Move local git config stuff to local file.
Ludovic Chabant <ludovic@chabant.com>
parents:
454
diff
changeset
|
23 # vim:ft=gitconfig:ts=2:sw=2 |