Tips and Tricks

0

see compact tree of all your commits
git log --graph --all --oneline --decorate

if you do this a lot, you can add it as an alias

~/gitfaffing % git config --global alias.go 'log --graph --all --decorate --oneline' 
~/gitfaffing % git go

if you have a simple tree

git log --oneline

See checkout history

git reflog

  • 0 posts
  • 0 subtopics
  • 3 days ago by vince