Skip to content

Commit 6003a15

Browse files
committed
reordered gitconfig
1 parent 03c0f27 commit 6003a15

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.gitconfig

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
name = Ehtesh Choudhury
33
44

5+
[push]
6+
default = simple
7+
8+
[credential]
9+
helper = cache
10+
11+
[alias]
12+
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
13+
# http://stackoverflow.com/a/9074343/198348
14+
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
15+
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
16+
lg3 = 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 cyan)(committed: %cD)%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset) --all'
17+
# there's also git log --oneline
18+
519
# https://dandavison.github.io/delta/get-started.html
620
[core]
721
pager = delta
@@ -18,17 +32,3 @@
1832

1933
[diff]
2034
colorMoved = default
21-
22-
[alias]
23-
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
24-
# http://stackoverflow.com/a/9074343/198348
25-
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
26-
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
27-
lg3 = 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 cyan)(committed: %cD)%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset) --all'
28-
# there's also git log --oneline
29-
30-
[push]
31-
default = simple
32-
33-
[credential]
34-
helper = cache

0 commit comments

Comments
 (0)