-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
31 lines (31 loc) · 887 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
[user]
name = yuri1969
email = 1969yuri1969@gmail.com
# the 'sec' hash from: gpg --list-secret-keys --keyid-format=long
signingkey = F00
[core]
editor = vim
longpaths = true
autocrlf = false
[diff]
tool = vimdiff
# Highlight whitespace errors
wsErrorHighlight = all
[difftool]
prompt = false
[color "diff"]
whitespace = red reverse
[checkout]
# Use all logical cores for checkout-related operations
workers = 0
[init]
defaultBranch = main
[alias]
# Based on: https://github.com/perlpunk/slides.tpcig2018/blob/dev/git-tips-tricks/git-tips-tricks.md
ll = log '--pretty=format:%C(yellow)%h %C(cyan)%ad%C(auto)%d %C(reset)%s%C(green) [%an]' --graph '--date=format:%Y-%m-%d %H:%M'
ls = log --show-signature
sf = show --pretty="" --name-only
wd = diff --color-words
[commit]
gpgSign = true
verbose = true