Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Finding Things in Git
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Matthew McCullough
May 02, 2012
Programming
10
440
Finding Things in Git
Command history for this event is published at
https://gist.github.com/2579381
Matthew McCullough
May 02, 2012
Tweet
Share
More Decks by Matthew McCullough
See All by Matthew McCullough
Patterns for Collaborative Software Development in a Social World at JavaOne 2015
matthewmccullough
1
410
Collaborative Software Development in a Social World at the Utah JUG
matthewmccullough
2
180
Git and GitHub Platform Review
matthewmccullough
1
560
Your First Pull Request
matthewmccullough
0
340
Git and GitHub Workflows at the Utah JUG
matthewmccullough
1
850
Agile-ish life at GitHub
matthewmccullough
2
420
Git and GitHub Agile Workflows for HP
matthewmccullough
0
340
Writing Tools on the GitHub Platform
matthewmccullough
0
300
Git Feature Branches as an Art
matthewmccullough
0
200
Other Decks in Programming
See All in Programming
The free-lunch guide to idea circularity
hollycummins
0
350
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
420
モダンOBSプラグイン開発
umireon
0
180
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
430
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
150
Feature Toggle は捨てやすく使おう
gennei
0
330
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
390
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
330
20260315 AWSなんもわからん🥲
chiilog
2
170
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
3.2k
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
180
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
エンジニアに許された特別な時間の終わり
watany
106
240k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
770
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Designing for Timeless Needs
cassininazir
0
170
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Designing Powerful Visuals for Engaging Learning
tmiket
0
290
Being A Developer After 40
akosma
91
590k
Visualization
eitanlees
150
17k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Paper Plane (Part 1)
katiecoart
PRO
0
5.8k
Transcript
FINDING THINGS IN GIT Searching, Logging, Bisecting And Pickaxing
Finding Things in Git
git log
Code Changes
git log -S<string>
git log -G<regex>
People
git log --author="Matthew"
git log --committer="Matthew"
Filenames & Status
git log -- <filename>
git log --follow -- <filename>
git log --diff-filter=M
Messages
git log --grep=<regex>
Dates
git log --before=<date>
git log --after=<date>
Boolean
git log --not --grep=<regex>
File Contents
git blame <filename>
git blame -C <filename>
Config
git config --get-regexp 'alias*'
Ignored Files
git clean -ndX
git ls-files --others --ignored --exclude-standard
Orphans
gitk --all `git reflog | cut -c1-7`&
git --pretty=oneline --abbrev-commit --graph --decorate `git reflog | cut -c1-7`
Bisect
git bisect start git bisect bad <BAD> git bisect good
<GOOD> git bisect run <tool>
Searching in GitHUB
Site Search https://github.com/search
Repo Search https://github.com/matthewmccullough/hellogitworld/
Closing and Q&A
[email protected]
github.com/training/free
FINDING THINGS IN GIT Searching, Logging, Bisecting And Pickaxing