-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
59 lines (59 loc) · 1.79 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
[user]
name = Lukas Svoboda
email = lsvoboda@deloitte.at
[push]
default = simple
[alias]
f = fetch
# updates your branch with upstream (if fast-forward is possible)
ff = !git merge --ff-only `git rev-parse --symbolic-full-name --abbrev-ref=strict HEAD@{u}`
gui = !~/git/git-gui/git-gui.sh citool
fa = fetch --all
fp = fetch --prune
fap = fetch --all --prune
rbom = rebase origin/master
st = status
cm = commit
cma = commit --amend
br = branch
co = checkout
cp = cherry-pick
siu = stash --include-untracked
sl = stash list
sp = stash pop
df = diff
rb = rebase
rbi = rebase -i
rbc = rebase --continue
rh = reset --hard
su = submodule update
# graph for current branch
l = log --graph --decorate --pretty=oneline --abbrev-commit
# graph for all branches
ll = log --graph --decorate --pretty=oneline --abbrev-commit --all --date=iso
# log for current branch showing diffs (-m is for showing mergecommits too)
ld = log -p -m
# log for current branch showing summary of changed files (-m is for showing mergecommits too)
ls = log --stat -m
# number of commits for each person
stats = shortlog -n -s --no-merges
# remove remote branch (remote must be named origin), usage: git rmb test
rmb = !sh -c 'git push origin :$1' -
# shows local > tracked remote
brt = for-each-ref --format=\"%(refname:short) > %(upstream:short)\" refs/heads
# get upstream tracked branch or error
brtracked = rev-parse --symbolic-full-name --abbrev-ref=strict HEAD@{u}
# commit all changes to a WIP commit
wip = !git add $(git rev-parse --show-toplevel) && git commit -m WIP
# special branches
release = push origin HEAD:release
selenium = push origin HEAD:selenium
test = push origin HEAD:test
[http]
sslVerify = false
postBuffer = 524288000
proxy = http://proxy:3128
[core]
eol = lf
autocrlf = false
askpass =