-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
49 lines (49 loc) · 1.33 KB
/
.gitconfig
File metadata and controls
49 lines (49 loc) · 1.33 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
[alias]
# -s omits the more verbose stuff from the typical status message
st = status -s
df = diff
dfw = diff --color-words
dfns = diff --ignore-space-at-eol
co = checkout
ci = commit
br = branch -v -v
sm = submodule
# looks like this (with more colour):
# * c12ed67 ME 4 minutes ago Add setup_load_paths and accompanying README (HEAD, origin/master, origin/HEAD, master)
lg = log --graph --pretty='format:%C(yellow)%h %Cblue%s%Cred%d %Creset%aN %ar%Creset'
# Tell git to assume a specific file hasn't changed, even if it has
ignore-change = update-index --assume-unchanged
# undo ignore-index
no-ignore-change = update-index --assume-unchanged
# check for introduced EOL-whitespace
sp = diff --check
ss = stash show -p stash@{0}
# Git flow aliases
fs = flow feature start
ff = flow feature finish
rs = flow release start
rf = flow release finish
hs = flow hotfix start
hf = flow hotfix finish
[diff]
color = auto
[status]
color = auto
[push]
# Only push the branch I'm currently working on
default = tracking
[core]
# Move to the end of the line and start appending when VIM opens to edit a commit message
editor = vim
[user]
name = Justin Krinke
[pager]
status = false
[url "git@github.com:"]
insteadOf = https://github.com/
[interactive]
singleKey = true
[rebase]
instructionFormat = (%an <%ae>) %s
[fetch]
prune = true