-
Notifications
You must be signed in to change notification settings - Fork 46
/
gitconfig
56 lines (54 loc) · 1.23 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
50
51
52
53
54
55
56
[user]
name = Henrik Nyh
email = [email protected]
[core]
excludesfile = /Users/henrik/.gitignore
ignorecase = false
pager = less -R
hooksPath = /devbox/support/default_githooks
[color]
status = auto
diff = auto
branch = auto
[branch "master"]
merge = master
[alias]
who = shortlog -s -n --no-merges
standup = shortlog --since=yesterday
today = shortlog --since=midnight
uncommit = reset HEAD^
unamend = reset --soft HEAD@{1}
hist = for-each-ref --count=10 --sort=-committerdate --format='%(refname:short)' refs/heads/
redate = commit --amend --date=now --no-edit
[gist]
private = yes
extension = rb
[init]
templatedir = ~/.git_template
defaultBranch = main
[push]
default = current
[web]
browser = open
[merge]
tool = vimdiff
[mergetool "vimdiff"]
cmd = vim -d "$LOCAL" "$MERGED" "$REMOTE"
trustExitCode = true
[branch]
autosetuprebase = always
[diff]
compactionHeuristic = true
noprefix = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
# This next lines include Netlify's Git Credential Helper configuration in your Git configuration.
[include]
path = /Users/henrik/.netlify/helper/git-config
[pull]
rebase = true
[rebase]
autoStash = true