forked from ddrexl/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.git_settings
42 lines (36 loc) · 908 Bytes
/
.git_settings
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
[credential]
# for linux only
helper = store
[alias]
# for gerrit only
prr = pull --rebase
pdm = push origin HEAD:refs/drafts/master
pm = push origin HEAD:refs/for/master
p = push origin HEAD:refs/heads/master
st = status
adog = log --all --decorate --oneline --graph
co = checkout
br = branch
ca = commit --amend
can = commit --amend --no-edit
ci = commit
co = checkout
df = diff
dc = diff --cached
rh = reset --hard origin/master
[branch]
# imply tracking
autosetupmerge = always
# pull --rebase default
autosetuprebase = always
[core]
eol = native
excludesfile = ~/.gitignore
[help]
# Automatically correct and execute mistyped commands
autocorrect = 1
[init]
templatedir = ~/.git_template
[user]
# force user config on a per repo basis if no global user config
useconfigonly = true