-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig_template
More file actions
55 lines (45 loc) · 1.04 KB
/
gitconfig_template
File metadata and controls
55 lines (45 loc) · 1.04 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
[user]
name = Aaron Hoffer
email = aaron@hoffer.org
[core]
editor = vim
pager = less -FRSX
# on commit: convert CRLF → LF; on checkout: leave line‐endings as LF
autocrlf = input
# warn if someone is about to commit a CRLF that can’t be cleanly fixed
safecrlf = true
# make Git display diffs with LF endings
eol = lf
[color]
ui = auto
[alias]
st = status
br = branch
ci = commit
df = diff
dc = diff --cached
lg = log --graph --decorate --all --oneline
l = log --oneline
unstage = reset HEAD --
amend = commit --amend --no-edit
rb = rebase
s = "!git status -s"
wt = worktree
sw = switch
cp = cherry-pick
aa = add -A
cm = commit -m
pu = pull
ps = push
[fetch]
prune = true
[pull]
rebase = true
[push]
default = simple
[credential]
helper = cache --timeout=3600
[merge]
tool = vimdiff
[diff]
tool = vimdiff