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
400
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
360
Collaborative Software Development in a Social World at the Utah JUG
matthewmccullough
2
140
Git and GitHub Platform Review
matthewmccullough
1
330
Your First Pull Request
matthewmccullough
0
260
Git and GitHub Workflows at the Utah JUG
matthewmccullough
1
730
Agile-ish life at GitHub
matthewmccullough
2
310
Git and GitHub Agile Workflows for HP
matthewmccullough
0
260
Writing Tools on the GitHub Platform
matthewmccullough
0
220
Git Feature Branches as an Art
matthewmccullough
0
140
Other Decks in Programming
See All in Programming
欠陥を早期に発見するための Software Engineer in Test とその重要性 / What is Software Engineer in Test and How they works
orgachem
PRO
17
2.4k
『WordPressコミュニティで学ぶ』OSS貢献の多様性
ippey
0
260
Deep Dive into React Stream/Serialize
mugi_uno
4
860
地方こそサーバーレス、その意義に迫るサーバーレスPHP / Serverless PHP: The Rural Areas, and Why Serverless PHP Matters
seike460
PRO
2
100
Using "modern" Ruby to build a better, faster Homebrew
mikemcquaid
2
270
TypeScript Custom GitHub Action Development Tips
peaceiris
2
320
戦略的DDDは重いのか? / Is strategic DDD heavy?
pictiny
3
2.1k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
49
16k
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
620
How to implement a RubyVM with PHP?
memory1994
PRO
2
190
Let's learn code review
riofujimon
2
640
RustでAWS Lambda functionをいい感じに書く
taiki45
2
150
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
15
1.6k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
7k
Docker and Python
trallard
35
2.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
Build your cross-platform service in a week with App Engine
jlugia
226
17k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Building Adaptive Systems
keathley
32
1.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.7k
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