-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitconfig
50 lines (50 loc) · 1.05 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
[user]
email = [email protected]
name = David Davis
[alias]
st = status
s = status
ci = commit
c = commit
cam = commit -a -m
amend = commit --amend
b = branch
co = checkout
cm = commit -m
su = submodule foreach "git checkout master; git pull"
pull-all = "!f() { branches=`git branch`; for b in ${branches//'*'/}; do git checkout $b; git pull origin $b; done }; f"
sm = submodule
#upstream = "!git-upstream $@"
up = upstream
upr = upstream reset
uprh = upstream reset-hard
gist = !git diff | gh gist create --filename=git.diff
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
quotepath = false
excludesfile = ~/.gitignore
hooksPath = ~/.git_hooks
[init]
defaultBranch = main
[github]
user = daviddavis
[push]
default = current
[include]
path = ~/.gitconfig.local
[credential]
helper = store