-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
65 lines (65 loc) · 1.91 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[user]
name = Eric Fung
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMesldDQ23x8mKz6Lvv1aNIlmPKhg7xKRMxdkyhJNJ9p
[color]
ui = true
[alias]
br = branch
ci = commit
co = checkout
st = status
amend = commit --amend
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
details = log -n1 -p --format=fuller
dump = cat-file -p
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local
searchlogs = !git log --oneline | grep
shove = push -u origin HEAD --no-verify
today = log --stat --since=\"1 Day Ago\" --graph --pretty=oneline --abbrev-commit --date=relative
type = cat-file -t
unstage = reset HEAD
[core]
autocrlf = input
editor = vim
excludesfile = ~/.gitignore_global
pager = delta
safecrlf = false
[push]
default = simple
followTags = true
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[commit]
gpgsign = true
[diff]
colorMoved = default
compactionHeuristic = true
noprefix = true
[init]
defaultBranch = main
[pull]
rebase = true
[fetch]
prune = true
[rebase]
autoStash = true
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[delta] # https://github.com/dandavison/delta
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign