[ADD][GIT] Aliases for logging and misc utilities

This commit is contained in:
Bruno BELANYI 2019-07-13 00:55:04 +02:00
parent de345379ba
commit ecc2435f3e

View file

@ -1,22 +1,30 @@
[core] [core]
excludesfile = ~/.gitignore excludesfile = ~/.gitignore
[color] [color]
ui = auto ui = auto
branch = auto branch = auto
diff = auto diff = auto
interactive = auto interactive = auto
status = auto status = auto
[commit] [commit]
verbose = true verbose = true
[pull] [pull]
rebase = true rebase = true
[branch] [branch]
autosetubrebase = always autosetubrebase = always
[push] [push]
default = simple default = simple
[rebase] [rebase]
autoSquash = true autoSquash = true
autoStash = true autoStash = true
[user] [user]
email = bruno.belanyi@epita.fr email = bruno.belanyi@epita.fr
name = Bruno BELANYI name = Bruno BELANYI
[alias]
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
trim = reflog expire --expire-unreachable=now --all
chop = gc --prune=now
optimize = repack -a -d -f --depth=250 --window=250
pf = pull --ff-only