-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
56 lines (43 loc) · 1.12 KB
/
gitconfig
File metadata and controls
56 lines (43 loc) · 1.12 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
[user]
name = Oğulcan Girginç
email = ogulcan@girginc.com
[init]
defaultBranch = main
[core]
editor = nvim
commentChar = ";"
pager = delta --paging=never
[push]
autoSetupRemote = true
default = current
[alias]
sb = "!f() { git switch $(git branch | fzf --height 40% --reverse --border); }; f"
srb = "!f() { git switch -t $(git branch -r | fzf --height 40% --reverse --border); }; f"
ssb = "!f() { git add . && git stash && git switch $(git branch | fzf --height 40% --reverse --border) && git stash pop; }; f"
sc = switch -c
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
verbose = true
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[interactive]
diffFilter = delta --color-only
[merge]
conflictStyle = zdiff3
[rebase]
updateRefs = true
[diff]
colorMoved = default
[delta]
navigate = true
side-by-side = true
dark = true
true-color = always