-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
74 lines (74 loc) · 1.8 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
66
67
68
69
70
71
72
73
74
[user]
name = danny crasto
email = [email protected]
[core]
editor = nvim
pager = delta
excludesfile = ~/.gitignore
[color]
ui = true
diff = true
status = auto
branch = auto
[alias]
dns = diff --name-status
stage = add
unstage = reset HEAD
trash = checkout HEAD
uncommit = reset HEAD^
lol = log --graph --decorate --pretty=oneline --abbrev-commit
topic-revs = rev-list --no-merges --first-parent --reverse ...master
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
ls = ls-files
lsu = ls-files -v | grep -e '^[a-z]'
#force-tag-update-push = "!f() { git tag -fam '${1}' ${1} && git push -f origin ${1}; };f "
squash-to = "!f() { git reset --hard ${1} && git merge --squash HEAD@{1};};f "
flake8 = "!git diff HEAD^ | flake8 --diff"
dk = !git diff | dunk | less
[merge]
autoStash = true
ff = no
conflictStyle = zdiff3
tool = nvimdiff
[rerere]
enabled = true
autoupdate = true
[help]
autocorrect = -1
[gui]
spellingdictionary = none
[credential]
helper = cache --timeout=3600
[push]
default = simple
autoSetupRemote = true
[pull]
rebase = true
[oh-my-zsh]
hide-dirty = 1
[init]
defaultBranch = main
[rebase]
autoStash = true
updateRefs = true
[branch]
sort = -committerdate
[interactive]
diffFilter = delta --color-only
[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)
[diff]
colorMoved = default
#algorithm = histogram
#tool = difftastic
[commit]
verbose = true
[log]
date = iso