-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
57 lines (45 loc) · 947 Bytes
/
.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
57
[alias]
fix = commit --amend --no-edit
ci = commit
cp = cherry-pick
co = checkout
go = checkout -b
st = status
s = status -s
df = diff
dfs = diff --ignore-all-space
undo = !git clean -dff && (git rebase --abort || git reset --hard)
trash = !git branch | grep -v "master" | grep -v "main" | grep -v "\\*" | xargs git branch -D
please = push --force-with-lease
[apply]
whitespace = fix
[core]
excludesfile = ~/.gitignore
whitespace = trailing-space,space-before-tab
trustctime = false
precomposeunicode = false
untrackedCache = true
[color]
ui = auto
[diff]
colorMoved = default
renames = copies
[fetch]
prune = true
[help]
autoCorrect = immediate
[init]
defaultBranch = main
[merge]
log = true
[pull]
rebase = true
[push]
default = current
followTags = true
autoSetupRemote = true
[rebase]
autosquash = true
[user]
name = Florent Cailhol
email = [email protected]