lemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-24 months agoa git cheat sheet - Julia Evanscdn.masto.hostimagemessage-square39fedilinkarrow-up1503arrow-down110file-textcross-posted to: opensource@lemmy.ml
arrow-up1493arrow-down1imagea git cheat sheet - Julia Evanscdn.masto.hostlemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-24 months agomessage-square39fedilinkfile-textcross-posted to: opensource@lemmy.ml
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up7·4 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-up3·edit-24 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
.