-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
58 lines (46 loc) · 963 Bytes
/
.gitconfig
File metadata and controls
58 lines (46 loc) · 963 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Git configuration file
# Copy to ~/.gitconfig and fill in your personal information
[user]
name = YOUR_NAME
email = YOUR_EMAIL@example.com
[core]
editor = nvim
autocrlf = input
excludesfile = ~/.gitignore_global
[init]
defaultBranch = main
[pull]
rebase = true
[push]
default = current
autoSetupRemote = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = zebra
[color]
ui = auto
[alias]
st = status
co = checkout
br = branch
ci = commit
unstage = reset HEAD --
last = log -1 HEAD
visual = log --graph --oneline --all --decorate
amend = commit --amend --no-edit
[help]
autocorrect = 1
[credential]
helper = osxkeychain
# Optional: Delta for better diffs (install with: brew install git-delta)
# [core]
# pager = delta
#
# [interactive]
# diffFilter = delta --color-only
#
# [delta]
# navigate = true
# light = false
# side-by-side = true