learnbyexample@programming.dev to Linux@lemmy.mlEnglish · 6 days agoHow Core Git Developers Configure Gitblog.gitbutler.comexternal-linkmessage-square2fedilinkarrow-up1177arrow-down10cross-posted to: linux@programming.devlinux@lemmy.ml
arrow-up1177arrow-down1external-linkHow Core Git Developers Configure Gitblog.gitbutler.comlearnbyexample@programming.dev to Linux@lemmy.mlEnglish · 6 days agomessage-square2fedilinkcross-posted to: linux@programming.devlinux@lemmy.ml
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up2·3 days agoI make tons of aliases. For instance my quick “got log” and “git log <branch[SS]>”: alias gl="git log --graph --abbrev-commit --no-decorate --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(8)%>|(16)%h %C(7)%ad %C(8)%<(16,trunc)%an %C(auto)%d %>|(1)%s' --all" alias glb="git log --graph --abbrev-commit --no-decorate --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(8)%>|(16)%h %C(7)%ad %C(8)%<(16,trunc)%an %C(auto)%d %>|(1)%s'"
I make tons of aliases. For instance my quick “got log” and “git log <branch[SS]>”:
alias gl="git log --graph --abbrev-commit --no-decorate --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(8)%>|(16)%h %C(7)%ad %C(8)%<(16,trunc)%an %C(auto)%d %>|(1)%s' --all" alias glb="git log --graph --abbrev-commit --no-decorate --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(8)%>|(16)%h %C(7)%ad %C(8)%<(16,trunc)%an %C(auto)%d %>|(1)%s'"