-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
105 lines (85 loc) · 1.76 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# INCLUDES
# --------
# Local/Private config goes in the include
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[include]
path = ~/.gitconfig.local
[alias]
a = add
aa = add --all
b = branch
c = commit
co = checkout
d = diff
pl = pull
ph = push
s = status
# List aliases.
aliases = config --get-regexp alias
# List contributors with number of commits.
contributors = shortlog --summary --numbered
# Show the user email for the current repository.
whoami = config user.email
[core]
editor = nvim
[init]
defaultBranch = main
[help]
# Automatically correct and execute mistyped commands.
autocorrect = 1
; [commit]
; gpgSign = true# https://help.github.com/articles/signing-commits-using-gpg
; # URL ALIASES
; # -----------
; # Alias for Dracula Org repositories
; [url "https://github.com/dracula/"]
; insteadOf = dracula://
; # COLORS
; # ------
; # Dracula Dark Theme
; [color]
; ui = auto
; [color "branch"]
; current = cyan bold reverse
; local = white
; plain =
; remote = cyan
; [color "diff"]
; commit =
; func = cyan
; plain =
; whitespace = magenta reverse
; meta = white
; frag = cyan bold reverse
; old = red
; new = green
; [color "grep"]
; context =
; filename =
; function =
; linenumber = white
; match =
; selected =
; separator =
; [color "interactive"]
; error =
; header =
; help =
; prompt =
; [color "status"]
; added = green
; changed = white
; header =
; localBranch =
; nobranch =
; remoteBranch = cyan bold
; unmerged = magenta bold reverse
; untracked = red
; updated = green bold
[push]
autoSetupRemote = true