-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
72 lines (71 loc) · 1.64 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[user]
name = Todd Edwards
email = github@rte.dev
signingkey = ACD861F90E167231
[core]
diff = auto
ui = true
[color]
status = auto
branch = auto
interactive = auto
[commit]
gpgsign = false
[grep]
extendedRegexp = true
lineNumber = true
[push]
default = current
[pull]
rebase = true
[pretty]
pretty-history = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
[status]
submodule = 1
[alias]
co = checkout
cob = checkout -b
coo = !git fetch && git checkout
br = branch
brd = branch -d
brD = branch -D
merged = branch --merged
st = status
aa = add -A .
cm = commit
cma = commit --amend
aacm = !git add -A . && git commit
cp = cherry-pick
develop = !git checkout develop && git pull origin develop
staging = !git checkout staging && git pull origin staging
master = !git checkout master && git pull origin
po = push origin
pu = !git push origin `git branch --show-current`
pod = push origin develop
pos = push origin staging
pom = push origin master
poh = push origin HEAD
plo = pull origin
plod = pull origin develop
plos = pull origin staging
plom = pull origin master
ploh = pull origin HEAD
unstage = reset --soft HEAD^
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
d = diff
ds = diff --staged
dft = difftool
f = "!git ls-files | rg"
gr = grep -Ii
la = "!git config -l | grep alias | cut -c 7-"
[pager]
difftool = true
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[github]
user = triangletodd