-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig
41 lines (39 loc) · 924 Bytes
/
dot_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
[user]
email = [email protected]
name = Felix Windsheimer
[alias]
a = add
ap = add --patch
ci = commit --verbose
c = commit --message
ca = commit --all
cam = commit --all --message
cfu = "!c() { \
git stash push --keep-index \
&& git commit --fixup=$1 \
&& git rebase --autosquash \
&& git stash pop; \
}; \
c"
ame = commit --amend --no-edit
amee = commit --amend
p = push
pl = pull
cl = clone
s = status
sa = status --ignored --untracked-files
sr = !git remote show origin | tail -n 1 | sed 's/.*(\\(.*\\))/\\1/'
l = log
d = diff
db = diff --ignore-space-change
dc = diff --cached
sh = show
br = branch
co = checkout
un = reset HEAD --
unp = reset HEAD --patch --
ri = rebase --interactive
rc = rebase --continue
st = stash
[push]
autoSetupRemote = true