-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
49 lines (47 loc) · 1.53 KB
/
.gitconfig
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
# This is Git's per-user configuration file.
[core]
excludesfile = /Users/constantijnschepens/.gitignore_global
# Delta
pager = delta
# Please adapt and uncomment the following lines:
user = Constantijn Schepens
email = [email protected]
editor = nvim
[push]
default = current
[user]
name = Constantijn Schepens
email = [email protected]
[merge]
conflictstyle = diff3
# Custom Stuffs
[alias]
flog = log --pretty=medium
grog = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\"
shorty = status --short --branch
# check with upstream to see you have latest commits before pushing over upstream
please = push --force-with-lease
commit = commit --verbose
branches = branch --sort=committerdate
[format]
# Sets the default pretty used by git log
pretty = format:%C(yellow)%h %C(green)%ai %an%C(yellow) | %C()%s%C(auto)%d
[color]
ui = auto
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[url "[email protected]:monzo/"]
insteadOf = "https://github.com/monzo/"
[delta]
plus-style = "syntax #012800"
minus-style = "syntax #340001"
line-numbers = true
syntax-theme = Dracula
navigate = true
# side-by-side = true
[interactive]
diffFilter = delta --color-only