-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
59 lines (49 loc) · 1.17 KB
/
gitconfig
File metadata and controls
59 lines (49 loc) · 1.17 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
[alias]
aliases = config --get-regexp alias
co = checkout
st = status
stb = status -sb
br = branch
ci = commit
fo = fetch origin
d = !git --no-pager diff
dt = difftool
stat = !git --no-pager diff --stat
# Clean merged branches
sweep = !git branch --merged main | grep -v 'main$' | xargs git branch -d && git remote prune origin
lg = log --graph --all --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr) %C(bold blue)%an%Creset %C(yellow)%d%Creset'
m = checkout main
unstage = reset HEAD --
[branch "main"]
mergeoptions = --no-edit
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[color "branch"]
current = green
remote = yellow
[core]
pager = less -FRSX
editor = \"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl\" --new-window --wait
excludesfile = ~/.gitignore
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[help]
autocorrect = 1
[init]
defaultBranch = main
[pull]
rebase = true
ff = only
[push]
default = current
autoSetupRemote = true
[user]
email = thomas.jost78@gmail.com
name = Thomas Jost