-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
39 lines (36 loc) · 1.15 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
36
37
38
39
[user]
name = Nicolas Beaussart
email = [email protected]
[push]
default = upstream
[alias]
lg = "!git log --graph --pretty=format:'%h -%d %s (%cr) <%an>' --abbrev-commit | emojify | lolcat -f -h 0.2 | less --"
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
flg = !"git lg1"
c = commit -m
a = add
cam = commit -a -m
oops = commit --amend --no-edit
[github]
user = beaussan
[color]
ui = auto
[credential]
helper = gnome-keyring
#[help]
# autocorrect = -1
[url "https://"]
insteadOf = git://
[pull]
rebase = false
[init]
defaultBranch = main
[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
[core]
autocrlf = input