-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.gitconfig
49 lines (40 loc) · 1.31 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
[user]
name = Gopal Patel
email = [email protected]
[alias]
st = status
ci = commit
co = checkout
wc = whatchanged
f = fetch
m = merge
r = rebase
sm = submodule
smu = submodule update --init --recursive
cop = checkout @{-1}
unstage = reset HEAD --
where = name-rev # Which release contains a commit?
contains = branch -a --contains # Which branch contains a commit?
compare = cherry -v # Which commits aren't upstream?
loglines = log --pretty=format:'%Cred%h%Creset %s %Cblue(%an - %cr)%Creset%Cgreen%d%Creset'
detach = checkout HEAD^0
[color]
ui = auto
pager = true
[url "[email protected]:nixme/"]
insteadOf = github:
[core]
excludesfile = ~/.gitignore_global
trustctime = false # OS X issue. See http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/
[status]
relativePaths = false # Show paths relative to repo root
[branch]
autosetuprebase = always
[diff]
renames = copies # identify renames and copies
mnemonicprefix = true # use better symbols than A and B
algorithm = histogram # Better diffs
[push]
default = simple # Push current branch only
[rerere]
enabled = true