lemmyreader to LinuxEnglish · edit-27 months agoa git cheat sheet - Julia Evanscdn.masto.hostimagemessage-square39fedilinkarrow-up1507arrow-down110file-textcross-posted to: opensource
arrow-up1497arrow-down1imagea git cheat sheet - Julia Evanscdn.masto.hostlemmyreader to LinuxEnglish · edit-27 months agomessage-square39fedilinkfile-textcross-posted to: opensource
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up7·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-up3·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
.