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
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
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
39
26k
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
650
Python札幌 LT資料
t3tra
7
1.1k
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
150
JETLS.jl ─ A New Language Server for Julia
abap34
2
460
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
0
190
開発に寄りそう自動テストの実現
goyoki
2
1.5k
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
650
Navigating Dependency Injection with Metro
l2hyunwoo
1
190
GoLab2025 Recap
kuro_kurorrr
0
780
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
410
Implementation Patterns
denyspoltorak
0
130
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
320
Utilizing Notion as your number one productivity tool
mfonobong
2
190
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
130
The Pragmatic Product Professional
lauravandoore
37
7.1k
Evolving SEO for Evolving Search Engines
ryanjones
0
77
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Code Review Best Practice
trishagee
74
19k
Test your architecture with Archunit
thirion
1
2.1k
Mobile First: as difficult as doing things right
swwweet
225
10k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
98
The untapped power of vector embeddings
frankvandijk
1
1.5k
A Tale of Four Properties
chriscoyier
162
23k
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