Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Finding Things in Git
Search
Matthew McCullough
May 02, 2012
Programming
440
10
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Finding Things in Git
Command history for this event is published at
https://gist.github.com/2579381
Matthew McCullough
May 02, 2012
Transcript
40 slides
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
More Decks by Matthew McCullough
See All by Matthew McCullough
Patterns for Collaborative Software Development in a Social World at JavaOne 2015
matthewmccullough
1
450
Collaborative Software Development in a Social World at the Utah JUG
matthewmccullough
2
200
Git and GitHub Platform Review
matthewmccullough
1
600
Your First Pull Request
matthewmccullough
0
370
Git and GitHub Workflows at the Utah JUG
matthewmccullough
1
890
Agile-ish life at GitHub
matthewmccullough
2
460
Git and GitHub Agile Workflows for HP
matthewmccullough
0
380
Writing Tools on the GitHub Platform
matthewmccullough
0
340
Git Feature Branches as an Art
matthewmccullough
0
240
Other Decks in Programming
See All in Programming
SODA - FACT BOOK(EN)
sodainc
1
260
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
150
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
780
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
140
あなたはMCPの機能を、まだ知らない。
4geru
1
660
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
130
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.4k
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
160
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
小さなアプリを作って公開するまで
onozaty
0
200
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Optimising Largest Contentful Paint
csswizardry
37
4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Accessibility Awareness
sabderemane
1
310
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Fireside Chat
paigeccino
43
4.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Statistics for Hackers
jakevdp
799
230k
Crafting Experiences
bethany
1
450
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k