Git
History Commands
Navigate your project's history like a pro. Learn to search commits, view changes over time, and use Git's powerful log and blame features to understand how code evolved.
16 commands
Pro Tips
Use 'git log --oneline --graph' for a visual representation of your branch structure and history.
Use 'git log -S "searchterm"' to find commits that added or removed a specific string (pickaxe search).
git blame with -L option lets you see history for specific line ranges: 'git blame -L 10,20 file.js'
Common Mistakes
Don't use git blame to assign personal blame - use it to understand context and find who can explain the code.