-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
36 lines (36 loc) · 895 Bytes
/
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
[user]
email = ivohradek@gmail.com
name = hradecek
signingkey = B01C27E81627F24B8EC3E482C61B2FF22AB84D96
[author]
email = ivohradek@gmail.com
name = hradecek
[core]
editor = nvim
autocrlf = input
trustctime = false
[init]
defaultBranch = main
[color]
ui = auto
[difftool]
prompt = false
[mergetool]
trustExitCode = true
[credential]
helper = cache --timeout=3600
[alias]
st = status
br = branch
ci = commit
up = pull --rebase
prev = checkout HEAD^1
next = "!sh -c 'git log --reverse --pretty=%H master | awk \"/$(git rev-parse HEAD)/{getline;print}\" | xargs git checkout'"
tagcommit = rev-list -n 1
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
graph = log --all --decorate --oneline --graph
[commit]
gpgSign = true
[tag]
gpgSign = true