-
Notifications
You must be signed in to change notification settings - Fork 2
/
dot_gitconfig
29 lines (22 loc) · 1.01 KB
/
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
[push]
default = simple
[core]
excludesfile = ~/.gitignore_global
editor = vim
[help]
autocorrect = 1
[alias]
graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
fullgraph = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
st = status
co = checkout
# http://www.lowlevelmanager.com/2016/02/how-to-run-git-interactive-rebase-non.html
fu = ! sh -c 'git commit -a --fixup=HEAD && GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash'
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
[user]
name = Mateusz Piotrowski
email = 0mp@FreeBSD.org
[include]
path = ~/.gitconfig.local
[init]
defaultBranch = main