-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
51 lines (51 loc) · 1.13 KB
/
gitconfig
File metadata and controls
51 lines (51 loc) · 1.13 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
# User identity loaded from local/gitconfig (machine-specific, gitignored)
[include]
path = ~/.local_gitconfig
[core]
quotepath = false
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = emacs
[color]
ui = auto
[color "branch"]
current = yellow black
local = yellow
remote = magenta
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red reverse
new = green reverse
whitespace = white reverse
[color "status"]
added = yellow
changed = green
untracked = cyan reverse
branch = magenta
[alias]
s = switch
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
com = !git checkout main && git pull origin main
cleanup = !git branch -d `git branch --merged | grep -v '^*\\|main\\|master\\|staging\\|develop'`
[push]
default = simple
autoSetupRemote = 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
[gpg]
program = /opt/homebrew/bin/gpg
[commit]
gpgsign = true
[tag]
gpgSign = true