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
510
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
270
Git Feature Branches as an Art
matthewmccullough
0
170
Other Decks in Programming
See All in Programming
rage against annotate_predecessor
junk0612
0
170
Design Foundational Data Engineering Observability
sucitw
3
200
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
440
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
530
AI Coding Agentのセキュリティリスク:PRの自己承認とメルカリの対策
s3h
0
230
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
2.4k
アルテニア コンサル/ITエンジニア向け 採用ピッチ資料
altenir
0
110
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
1
450
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
610
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
ProxyによるWindow間RPC機構の構築
syumai
3
1.2k
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
Featured
See All Featured
Six Lessons from altMBA
skipperchong
28
4k
GitHub's CSS Performance
jonrohan
1032
460k
Become a Pro
speakerdeck
PRO
29
5.5k
How to Ace a Technical Interview
jacobian
279
23k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
113
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
A Tale of Four Properties
chriscoyier
160
23k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
53k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.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