configfiles/git/.gitconfig
madmaurice cd13a05a01 git - Add two aliases
lga - lg with --all
ca - commit --amend
2019-07-07 23:10:46 +02:00

26 lines
638 B
INI

[user]
email = madmaurice@zom.bi
name = MadMaurice
[push]
default = current
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lga = lg --all
s = status -sb
a = add
c = commit
co = checkout
ca = commit --amend
ps = push
pl = pull
uncommit = reset --soft HEAD~
deleted = log --diff-filter=D --summary
find = ! sh -c 'git ls-files $2 | grep $1' -
[color]
ui = auto
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f