• fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 个月前

    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.

    • lars@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      7 个月前

      Nobody loves pedantic escaped single quoting more than I.

      Except for you wow.

      Show us the rc.