forked from vanderhoop/installfest_script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
64 lines (52 loc) · 1.44 KB
/
.gitconfig
File metadata and controls
64 lines (52 loc) · 1.44 KB
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
# http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup
[alias]
co = checkout
unstage = reset HEAD --
edit = commit --amend --edit
revise = commit --amend -aC HEAD
lg = log --decorate --pretty=oneline --abbrev-commit --graph
lg = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
st = status -sb -uall
df = diff --color --color-words --abbrev
undocommit = reset --soft HEAD^
undopush = push -f origin HEAD^:master
[branch]
autosetuprebase = always
[browser "gitscm"]
cmd = /bin/sh -c 'open http://git-scm.com/docs/$(basename $1 .html)' --
[commit]
template = ~/.gitmessage.txt
[core]
editor = vim
excludesfile = ~/.gitignore_global
[color]
# Available Colors
# normal, black, red, green, yellow, blue, magenta, cyan, or white
# bold, dim, ul, blink, and reverse
diff = auto
status = auto
branch = auto
interactive = auto
pager = true
ui = always
[color "branch"]
current = green
local = green
remote = yellow
plain = blue
[color "status"]
added = green
changed = yellow
untracked = red blink
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[help]
browser = gitscm
[push]
default = current
# push the current branch to update a branch with the same name on the receiving end.
# Works in both central and non-central workflows.
# This is the safest option and is suited for beginners.
[sequence]
editor = nano