-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
34 lines (28 loc) · 717 Bytes
/
gitconfig
File metadata and controls
34 lines (28 loc) · 717 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
[alias]
d = diff
dc = diff --cached
co = checkout
s = status
c = commit
ca = commit -a
a = commit --amend
aa = commit -a --amend
ane = commit --amend --no-edit
aane = commit -a --amend --no-edit
lof = log --format=fuller --decorate --stat
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all
who = shortlog -nse
whoami = config --get-regexp \"^user\\.\"
first = "!f() { git rev-list --max-parents=0 HEAD | xargs git log --format=\"%H %ad\"; }; f"
[color]
ui = auto
[push]
default = upstream
[url "git@github.com:"]
insteadOf = "gh:"
insteadOf = "github:"
[url "git@gist.github.com:"]
insteadOf = "gist:"
[url "git@bitbucket.org:"]
insteadOf = "bb:"
insteadOf = "bitbucket:"