-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig.j2
42 lines (35 loc) · 723 Bytes
/
gitconfig.j2
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
[user]
name = Bob Evans
email = [email protected]
[credential]
helper = osxkeychain
[core]
excludesfile = {{ ansible_user_dir }}/.gitignore_global
[hub]
protocol = https
[fetch]
prune = true
[push]
default = current
followTags = true
[alias]
st = status
dif = diff --staged
last = log -1 HEAD
unstage = reset HEAD --
undo = reset --hard HEAD
uncommit = reset HEAD~
c = commit -m
ca = commit --ammend -C HEAD
up = "pull --rebase --autostash"
br = "symbolic-ref --short HEAD"
cleanup = !git remote prune origin && git gc && git clean -dfx && git stash clear
s = sync
[submodule]
recurse = true
[pull]
rebase = true
[rebase]
autoStash = true
[commit]
gpgsign = true