lemmyreader to Linux@lemmy.mlEnglish • edit-27 months agoa git cheat sheet - Julia Evanscdn.masto.hostimagemessage-square39fedilinkarrow-up1506arrow-down110file-textcross-posted to: linuxfr@jlai.luopensource@lemmy.ml
arrow-up1496arrow-down1imagea git cheat sheet - Julia Evanscdn.masto.hostlemmyreader to Linux@lemmy.mlEnglish • edit-27 months agomessage-square39fedilinkfile-textcross-posted to: linuxfr@jlai.luopensource@lemmy.ml
minus-squarefmstratlinkfedilinkEnglish7•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-square@lars@lemmy.sdf.orglinkfedilink3•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
.