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
Matthew McCullough
May 02, 2012
Programming
10
430
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
390
Collaborative Software Development in a Social World at the Utah JUG
matthewmccullough
2
170
Git and GitHub Platform Review
matthewmccullough
1
520
Your First Pull Request
matthewmccullough
0
300
Git and GitHub Workflows at the Utah JUG
matthewmccullough
1
830
Agile-ish life at GitHub
matthewmccullough
2
390
Git and GitHub Agile Workflows for HP
matthewmccullough
0
310
Writing Tools on the GitHub Platform
matthewmccullough
0
280
Git Feature Branches as an Art
matthewmccullough
0
180
Other Decks in Programming
See All in Programming
あなたの知らない「動画広告」の世界 - iOSDC Japan 2025
ukitaka
0
430
Swift Concurrency - 状態監視の罠
objectiveaudio
2
480
クラシルを支える技術と組織
rakutek
0
190
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
7
1.6k
止められない医療アプリ、そっと Swift 6 へ
medley
1
130
チームの境界をブチ抜いていけ
tokai235
0
110
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
370
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
140
LLMとPlaywright/reg-suitを活用した jQueryリファクタリングの実際
kinocoboy2
4
680
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
190
CSC305 Lecture 01
javiergs
PRO
1
400
CSC509 Lecture 01
javiergs
PRO
1
440
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Raft: Consensus for Rubyists
vanstee
139
7.1k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Six Lessons from altMBA
skipperchong
28
4k
Become a Pro
speakerdeck
PRO
29
5.5k
Docker and Python
trallard
46
3.6k
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