forked from NealKaviratna/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
45 lines (45 loc) · 1.22 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
[user]
name = Neal Kaviratna
email = kaviratnaneal@gmail.com
[core]
editor = nano
[pull]
rebase = false
[merge]
conflictstyle = diff3
[alias]
fileschanged = diff HEAD^ HEAD --name-only
fc = diff --name-only HEAD~1 HEAD
to = commit -a --amend --no-edit
tackon = commit -a --amend --no-edit
st = status
dt = difftool HEAD^ HEAD --no-prompt
temp = checkout temp
sd = branch --delete
safedelete = branch --delete
sami = clean -dn
druggedfox = clean -df
morning = commit -a
remessage = commit --amend
rip = reset HEAD~1 $1
ripout = reset HEAD~1 $1 && git checkout -- .
ro = reset HEAD~1
nored = checkout -- .
nogreen = reset HEAD .
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
cane = commit --amend --no-edit
cod = checkout `branch --contains HEAD --no-merged | head -1`
fcs = diff --name-only
us = submodule update --recursive --remote
updatesubmodules = submodule update --recursive --remote
[credential]
helper = /usr/bin/gp credential-helper
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[push]
default = simple
[help]
autocorrect = 20