-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
35 lines (34 loc) · 1.24 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[user]
name = Pierre 'McFly' Marty
email = [email protected]
signingKey = 6545FB494B671D7C
[commit]
gpgSign = true
[gpg]
program = gpg2
[core]
editor = vim
[tag]
gpgSign = true
[init]
defaultBranch = main
[alias]
logline = log --graph --pretty='%><(10)%C(red)%h %<(15)%C(green)%cr %C(yellow)%G? %<(70)%C(reset)%s <%ce> %C(bold blue)%<(22)%d'
lg1 = log --graph --abbrev-commit --decorate --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
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
lg = !"git lg1"
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[pull]
ff = only
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential