-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
45 lines (45 loc) · 1.33 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 = Robert Jacob
[alias]
glog = log --abbrev-commit --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --color --graph --date=relative --decorate
nuke = reset --hard HEAD
prefs = config --system -e
options = config --global -e
co = checkout
st = status
ci = commit
b = branch
ciane = commit --amend --no-edit
rb = rebase
rbi = rebase --interactive
rbc = rebase --continue
mt = mergetool
ap = add -p
rp = reset -p
unmerged = log --oneline --graph --decorate --simplify-by-decoration --boundary --branches --not
ff = merge --ff-only
hart = reset --hard
last = diff HEAD^..HEAD
stree = "!f() { stree `git rev-parse --show-toplevel`; }; f"
sm = "!f() { smerge `git rev-parse --show-toplevel`; }; f"
root = rev-parse --show-toplevel
publish = push origin HEAD:refs/for/master
pulp = pull -p
fa = fetch --all -p
roomba = clean -dxe .idea
largest = "!git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | awk '/^blob/ {print substr($0,6)}' | sort --numeric-sort --key=2 -r | less"
[color]
ui = auto
[push]
default = current
[pull]
rebase = true
[core]
editor = vim
[submodule]
recurse = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true