-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
54 lines (54 loc) · 1.67 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
[user]
name = Bert Muthalaly
email = [email protected]
[credential]
helper = cache --timeout=86400
[alias]
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
lnc = log --pretty=format:"%h\\ %s\\ [%cn]"
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
fl = log -u
dl = "!git ll -1"
dlf = diff --cached HEAD^
la = "!git config -l | grep alias | cut -c 7-"
ci = commit
ca = commit -a
plan = commit --allow-empty
co = checkout
cl = clone
c = rev-list --format=%B --max-count=1 HEAD
aa = add -A
s = status -s
sl = status
ss = "!git add -A -N && git commit -m snapshot"
ap = "!git add -p && git commit"
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
recoverable = "!git log --graph --oneline --decorate $(git fsck --no-reflog | awk '/dangling commit/ {print $3}')"
[core]
excludesfile = ~/.cvsignore
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[commit]
verbose = true
[push]
default = simple
[http]
cookiefile = /usr/local/google/home/stijlist/.gitcookies
[diff]
algorithm = patience
indentHeuristic = true
[stash]
stash = stash -k -u
[init]
defaultBranch = main
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft --background=light "$LOCAL" "$REMOTE"
# Use a pager for large output, just like other git commands.
[pager]
difftool = true