2 Matching Annotations
- Feb 2024
-
-
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
-
git config --global alias.tree 'log --oneline --graph --decorate --all'
configuration to make a shortcut to show commits of git as a tree
-