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
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
550
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
450
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
Fragmented Architectures
denyspoltorak
0
150
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
SourceGeneratorのススメ
htkym
0
190
ThorVG Viewer In VS Code
nors
0
770
MUSUBIXとは
nahisaho
0
130
組織で育むオブザーバビリティ
ryota_hnk
0
170
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Speed Design
sergeychernyshev
33
1.5k
Leo the Paperboy
mayatellez
4
1.4k
It's Worth the Effort
3n
188
29k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Thoughts on Productivity
jonyablonski
74
5k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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