lemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-27 months agoa git cheat sheet - Julia Evanscdn.masto.hostimagemessage-square35fedilinkarrow-up13arrow-down10file-text
arrow-up13arrow-down1imagea git cheat sheet - Julia Evanscdn.masto.hostlemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-27 months agomessage-square35fedilinkfile-text
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up0·7 months agoYou’re gonna love this then: 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' I have a whole rc file full of shortcuts like this for Git and Docker.
minus-squarelars@lemmy.sdf.orglinkfedilinkarrow-up0·edit-27 months agoNobody loves pedantic escaped single quoting more than I. Except for you wow. Show us the rc.
You’re gonna love this then:
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'
I have a whole rc file full of shortcuts like this for Git and Docker.
Nobody loves pedantic escaped single quoting more than I.
Except for you wow.
Show us the
rc
.