-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
46 lines (39 loc) · 826 Bytes
/
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
[include]
path = ~/.gitauthorize
[core]
editor = vim
excludesfile = ~/.gitignore
[color]
ui = true
[difftool]
tool = meld
prompt = false
[mergetool]
tool = meld
prompt = false
trustExitCode = false
[alias]
a = add
st = status
s = status
ci = commit
br = branch
co = checkout
df = diff
dft = difftool
rb = rebase
rbc = rebase --continue
rba = rebase --abort
rbi = "!f() { git rebase -i HEAD~$1; }; f"
lg = log --stat
l = log --pretty=format:'%h %an %ad : %s' --date=relative
purr = pull --rebase
amend = commit --amend
aamend = commit --amend --no-edit
panic = !DIR=`basename $PWD` && tar cvf ../git-panic-$DIR-`date +"%Y-%m-%d_%H.%M.%S"`.tar *
fetch = fetch -v
fetchall = fetch -v --all
unstage = reset HEAD
discard = checkout --
[push]
default = simple