-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
55 lines (49 loc) · 1.37 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
[alias]
aa = add --all
ca = commit --amend --verbose
car = commit --amend --no-edit
co = checkout
copysha = !git rev-parse HEAD | xclip -sel clip
df = diff
ds = diff --staged
fall = fetch --all
glog = log -E -i --grep
mup = !git checkout master && git fetch origin && echo && git sl master..origin/master && echo && git pull --quiet && git checkout -
m = checkout master
pl = pull
ps = push
psf = push --force-with-lease
rbc = rebase --continue
riu = !git rebase -i $(git rev-parse --abbrev-ref --symbolic-full-name @{u})
rid = !git rebase -i $(git merge-base develop HEAD)
rim = !git rebase -i $(git merge-base master HEAD)
rmup = !git mup && git rebase master
sl = log --oneline --decorate -20
sla = log --oneline --decorate --graph --all -20
slp = log --oneline --decorate
slap = log --oneline --decorate --graph --all
uncommit = reset --soft HEAD^
unstage = reset
upstream = rev-parse --abbrev-ref --symbolic-full-name @{u}
ureset = !git reset --hard $(git upstream)
[user]
name = Grzegorz Wcisło
email = [email protected]
signingkey = 1FD0EF07C50CDF764B7550E1B0DCB09B88DCC684
[push]
default = upstream
[fetch]
prune = true
[color]
ui = auto
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[github]
user = grzegorz-wcislo
[pull]
ff = only
[init]
defaultBranch = main