lemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-28 months agoa git cheat sheet - Julia Evanscdn.masto.hostimagemessage-square39fedilinkarrow-up1505arrow-down110file-textcross-posted to: linuxfr@jlai.luopensource@lemmy.ml
arrow-up1495arrow-down1imagea git cheat sheet - Julia Evanscdn.masto.hostlemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-28 months agomessage-square39fedilinkfile-textcross-posted to: linuxfr@jlai.luopensource@lemmy.ml
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up7·8 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-28 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
.