-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
39 lines (39 loc) · 940 Bytes
/
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
[core]
editor = vim
excludesfile = /home/milosz/.gitignore_global
[merge]
tool = meld
[alias]
co = checkout
cp = cherry-pick
br = branch
ci = commit
st = status
unstage = reset HEAD --
last = log -1 HEAD
ss = status -s
cm = commit --verbose
ca = commit -a --verbose
am = commit --amend
ph = push
phff = push --force-with-lease
ft = fetch
pl = pull
pr = pull --rebase
ap = add -p
df = diff
aa = !git add -u && git add . && git status
lg = log --graph --pretty=format:'%C(bold red)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold green)<%an>%Creset' --abbrev-commit --date=relative
ds = diff --staged
cim = commit -m
ciam = commit -am
uncommit = reset --soft HEAD^
rh = reset --hard
cob = checkout -b
mnff = merge --no-ff
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /
[push]
default = simple
[user]
email = milj@users.noreply.github.com
name = Miłosz Jerkiewicz