• Using Abbreviated Commits in Git

    1 min read

    git commit abbreviated

    To pin some code to a specific version we can use a commit ID instead of a tag but using such a long string might feel a tad cumbersome:

    $ git log
    commit fb944d599d5487229463478928834cac20963f75 (HEAD -> main)
    Author: Eric <some@thing.com>
    Date:   Wed Jun 7 20:27:17 2023 +0100
    
        Fix exit with no error when cert violates lookahead (#2395)
    
    (...)
    

    22/06/2023

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets