Files
toolbox/dotfiles/.gitconfig
2024-06-28 01:44:51 +02:00

19 lines
623 B
INI

[alias]
co = checkout
ci = commit
br = branch
st = status
pl = pull
plo = pull origin
ph = push
pho = push origin
fp = fetch --prune
rb = rebase
di = diff
unstage = reset --soft HEAD^
lg = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
unci = reset HEAD~1 --mixed
bri = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
diffc = !git diff --cached
fpa = !git fetch --all --prune
tagrd = !git push --delete origin