-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitconfig
54 lines (45 loc) · 1.16 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
[user]
email = [email protected]
name = Kevin Rockwood
[alias]
l = "!. ~/.githelpers && pretty_git_log"
r = !GIT_NO_PAGER=1 git l -20
b = "!. ~/.githelpers && pretty_git_branch"
s = status --short --branch
d = diff
br = branch
co = checkout
# Interactive rebase with the given number of latest commits
rb = "!r() { git rebase -i HEAD~$1; }; r"
# Delete all merged branches
cl = "!git branch --merged | grep -v '\\*\\|master' | xargs -n 1 git branch -d"
tags = tag --list
remotes = remote --verbose
[core]
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
editor = vim
[merge]
# Include summaries of merged commits in newly created merge commit messages
log = true
[push]
default = current
[pull]
rebase = true
[color]
# Use colors in Git commands that are capable of colored output when
# outputting to the terminal. (This is the default setting in Git ≥ 1.8.4.)
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