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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
sbone
September 17, 2014
Programming
79
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git Tips
A handful of git tips from a VHX dev lunch.
sbone
September 17, 2014
Other Decks in Programming
See All in Programming
スマートグラスで並列バイブコーディング
hyshu
0
130
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
JavaDoc 再入門
nagise
0
330
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
270
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
510
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
540
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
260
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
140
A2UI という光を覗いてみる
satohjohn
1
130
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
140
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
120
3Dシーンの圧縮
fadis
1
760
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
8
710
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
200
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
The World Runs on Bad Software
bkeepers
PRO
72
12k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Technical Leadership for Architectural Decision Making
baasie
3
410
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
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