-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
42 lines (42 loc) · 800 Bytes
/
gitconfig
File metadata and controls
42 lines (42 loc) · 800 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
37
38
39
40
41
42
# vim: set ft=gitconfig ts=2 sw=2:
[init]
templateDir = ~/.config/git/template/
[pager]
color = true
[status]
color = true
[diff]
color = true
[user]
name = Greg Signal
email = greg@cardboardstraw.com
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
hist = log --pretty=format:\"%h %ad (%cr) | %s%C(auto)%d%Creset [%an]\" --graph --date=short
wdiff = diff --word-diff
wshow = show --word-diff
[ignore]
filemode = false
[core]
excludesfile = ~/.gitignore_global
[checkout]
defaultRemote = origin
[push]
default = current
autoSetupRemote = true
[merge]
tool = vimdiff
[pull]
ff = only
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "main"]
remote = origin
merge = refs/heads/main
[remote "origin"]
push = HEAD