-
Notifications
You must be signed in to change notification settings - Fork 19
/
.gitconfig
43 lines (35 loc) · 966 Bytes
/
.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
[core]
# Global .gitignore file
excludesfile = ~/.gitignore_global
[user]
# TODO
name = FIRST LAST
email = YOUR_EMAIL_ON_GITHUB
[color]
status = auto
branch = auto
diff = auto
interactive = auto
[branch]
# auto-adds the --track flag to git branch. Helps out arc (for Phabricator).
autosetupmerge = always
[alias]
graph = log --graph --decorate --oneline --pretty=format:"%h%x20%Cgreen%d%x20%Cred%an%x20%Cblue%ad%x20%Creset%s" --all --full-history --date=short
ls-ignored = ls-files --exclude-standard --ignored --others
co = checkout
st = status
ci = commit
br = branch
df = diff
dfs = diff --staged
lp = log -p
# Ignore whitespace changes
bw = blame -w
[merge]
# Always show a diffstat at the end of a merge
stat = true
[diff]
# Use mnemonic prefixes (index, work tree, commit, object) instead of the standard a and b notation
mnemonicprefix = true
# Detect renames as well as copies
renames = copies