-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
77 lines (62 loc) · 1.68 KB
/
gitconfig
File metadata and controls
77 lines (62 loc) · 1.68 KB
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
75
76
77
[user]
name = Anton Kuzmenko
email = 1917237+default-anton@users.noreply.github.com
[push]
default = current
[github]
user = default-anton
[alias]
s = stash
co = checkout
br = branch
dmbr = !git br --merged | egrep -v '(^\\*|^master$|^develop$|^main$)' | xargs git br -d
ci = commit --verbose
st = status
b = blame -w -C -C -C
l = "!bash -c '. ~/.dotfiles/githelpers && pretty_git_log $@' -"
r = !GIT_NO_PAGER=1 git l -30
la = !git l --all
fap = fetch --all -p
amend = commit --amend
dc = diff --cached --ignore-space-change
dcs = !DELTA_FEATURES=+side-by-side git dc
df = diff --ignore-space-change
dfs = !DELTA_FEATURES=+side-by-side git df
all = add --all
poo = push origin HEAD
rom = !git fap && git rebase origin/$(git_default_branch)
changed = !git status --porcelain | grep '^ *[AM]' | cut -d ' ' -f 3-
review = !git df $(git merge-base $(git_default_branch) HEAD)..HEAD
prdf = !git df $(git merge-base HEAD origin/$(git_default_branch))
[color]
ui = true
diff = auto
[diff]
colorMoved = default
[merge]
ff = false
conflictStyle = zdiff3
[core]
editor = nvim
pager = delta
excludesfile = ~/.dotfiles/gitignore
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
syntax-theme = base16-256
line-numbers = true
[init]
templatedir = ~/.dotfiles/git-templates/
defaultBranch = main
[pull]
rebase = true
[rebase]
autoStash = true
[fetch]
prune = true
[maintenance]
repo = /Users/akuzmenko/code/aha-app
repo = /Users/akuzmenko/code/aha-dev-cli
[rerere]
enabled = true