-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.gitconfig
More file actions
36 lines (36 loc) · 1017 Bytes
/
.gitconfig
File metadata and controls
36 lines (36 loc) · 1017 Bytes
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
[color]
diff = true
ui = auto
[core]
excludesfile = ~/.gitignore_global
# editor = code -w
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
[alias]
co = checkout
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
plus = commit -a --amend --no-edit
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
xcode = !git add *.xcodeproj && git commit *.xcodeproj -m 'Fuck you xcode'
patchit = "!f() { curl -L $1.patch | git am; }; f"
patchit-please = "!f() { curl -L $1.patch | git am -3; }; f"
head = "!git rev-parse HEAD | cut -b -10"
mcfly = reset --hard HEAD~1
fixup = commit --fixup HEAD
[credential]
# helper = osxkeychain
[push]
default = simple
[help]
autocorrect = 1
[commit]
# gpgsign = true
[init]
defaultBranch = main
[include]
path = ~/.gitconfig.local