git-step-by-step
  • Introduction
  • Git Remote
  • Branch
  • Checkout & Reset
  • SSH Key
  • Branch
  • Diff & Merge
  • Commit
  • Log
  • Rebase
  • Fetch
  • Reflog
  • Tag
  • Stash
  • Configure Sublime for Linux
Powered by GitBook
On this page

Was this helpful?

Log

git log // show logs, use spacebar key to navigate huge list
git log --oneline ( commit hash and message only )

// --all -> display log of all branches and subbranches
git log --online --decorate --graph --all

// Display logs of the branch you are in
git log --online --decorate --graph

// Display logs of particular folder only
git log css

// Search Log by commit text
git log --grep="quick-feature"
PreviousCommitNextRebase

Last updated 4 years ago

Was this helpful?