-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
41 lines (36 loc) · 1.17 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
[core]
#autocrlf = input
#safecrlf = true
pager = less -R --quit-if-one-screen -M
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[alias]
diff = diff --minimal
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short --color=auto --date-order
histdate = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short --color=auto
id = log --pretty=format:%h -1
co = checkout
ci = commit
type = cat-file -t
cat = cat-file -p
dirname = rev-parse --show-toplevel
rem = remote -v
wdiff = diff --color-words
[push]
# Only push up the current branch, and only if it's already being tracked
#default = tracking
# https://thalif.wordpress.com/2010/04/10/git-push-default-warnings/
default = tracking
[branch]
# ``tells git-branch and git-checkout to setup new branches so that
# git-pull(1) will appropriately merge from that remote branch.
# Recommended. Without this, you will have to add --track to your
# branch command or manually merge remote tracking branches with
# "fetch" and then "merge".''
autosetupmerge = true
[include]
# Conveniently, git does not complain if this file does not exist
path = ~/.gitconfig.private