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
Git Tips
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
sbone
September 17, 2014
Programming
1
76
Git Tips
A handful of git tips from a VHX dev lunch.
sbone
September 17, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
Rethinking API Platform Filters
vinceamstoutz
0
2.4k
Claude Code Skill入門
mayahoney
0
440
ファインチューニングせずメインコンペを解く方法
pokutuna
0
210
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
170
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
180
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
130
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
240
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
680
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
250
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.4k
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
ロボットのための工場に灯りは要らない
watany
12
3.2k
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Paper Plane
katiecoart
PRO
0
48k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
300
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
ラッコキーワード サービス紹介資料
rakko
1
2.8M
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
150
Optimizing for Happiness
mojombo
378
71k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Building the Perfect Custom Keyboard
takai
2
720
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Transcript
Git Tips
git bisect When and where did this break?
git bisect • find working commit hash • git bisect
start • git bisect bad • git bisect good 8579541 • git bisect reset
git add ––patch This is done, but this isn’t.
git add ––patch • git add ––patch • Stage this
hunk [y,n,q,a,d,/,e,?]? • y - yes, n - no, ? - help
git cherry-pick I need that here, now.
git cherry-pick • find desired commit hash • git cherry-pick
8579541
git stash This isn’t done, but I need to save
it.
git stash • git stash • git stash save “begin
some function” • git stash list ! • git stash pop stash@{0}
git commit ––amend Fix local commit typo or add file
git commit ––amend • git add path/file/file.ext • git commit
––amend
git reflog Your local git activity log
git reflog • git reflog ! ! • git reset
--hard 8579541
git reset ––hard Clean your working space git clean -f
Delete untracked files (-n to preview) git diff -w Diff without whitespace