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
420
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
370
Collaborative Software Development in a Social World at the Utah JUG
matthewmccullough
2
150
Git and GitHub Platform Review
matthewmccullough
1
450
Your First Pull Request
matthewmccullough
0
280
Git and GitHub Workflows at the Utah JUG
matthewmccullough
1
800
Agile-ish life at GitHub
matthewmccullough
2
360
Git and GitHub Agile Workflows for HP
matthewmccullough
0
290
Writing Tools on the GitHub Platform
matthewmccullough
0
250
Git Feature Branches as an Art
matthewmccullough
0
150
Other Decks in Programming
See All in Programming
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
880
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
260
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
110
バッチを作らなきゃとなったときに考えること
irof
2
520
Unity Android XR入門
sakutama_11
0
180
SwiftUI Viewの責務分離
elmetal
PRO
2
270
React 19アップデートのために必要なこと
uhyo
8
1.5k
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
17
3.9k
未経験でSRE、はじめました! 組織を支える役割と軌跡
curekoshimizu
1
140
Amazon Q Developer Proで効率化するAPI開発入門
seike460
PRO
0
120
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.6k
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.2k
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
640
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
A Tale of Four Properties
chriscoyier
158
23k
Mobile First: as difficult as doing things right
swwweet
223
9.4k
We Have a Design System, Now What?
morganepeng
51
7.4k
Thoughts on Productivity
jonyablonski
69
4.5k
How to train your dragon (web standard)
notwaldorf
91
5.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
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
support@github.com
github.com/training/free
FINDING THINGS IN GIT Searching, Logging, Bisecting And Pickaxing