2 Matching Annotations
  1. Feb 2024
    1. git log --oneline --graph --decorate --all

      show commits of git as a tree

      To show the last 2 commits use this! git log --oneline --graph --decorate --all HEAD~2..HEAD

    2. git config --global alias.tree 'log --oneline --graph --decorate --all'

      configuration to make a shortcut to show commits of git as a tree