Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Git
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
sjonnet
May 15, 2019
Technology
76
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git
sjonnet
May 15, 2019
Transcript
12 slides
Git Fork, Branch, Rebase, Squash and Flow oh my Shawn
Jonnet <
[email protected]
>
Overview • Fork and Branch • Rebase • Squash •
Flow
Fork and Branch • Forking is useful for creating a
repository to maintain branches that you don't want or are not yet ready to share. • Branching for feature and bug fixing helps keep work isolated from more stable branches and allows the developer to commit often and push often.
git checkout -b feature/<feature>
Rebase • Rebase was designed to specifically help with the
sequence of code commits and progress. Have you looked at your commit history?
git rebase master
Squash • Squash? Wait what this is intended to create
clean commit's so it makes code reviews easier.
git reset HEAD~[1-9*] && git add . && git commit
-m 'Clean commit'
Flow • Release • Hotfix • Feature
git flow feature (start|finish) 0.0.1
git flow release (start|finish) 0.0.1
git flow hotfix (start|finish) 0.0.1
More Decks by sjonnet
See All by sjonnet
Testing
sjonnet
1
98
Services
sjonnet
1
91
Pollyfills
sjonnet
1
89
MVC
sjonnet
4
220
extCSS
sjonnet
1
120
Error
sjonnet
1
80
Other Decks in Technology
See All in Technology
品質を積み上げられるようにする
goyoki
5
1.9k
OSSとミニPCと私
anatofuz
1
120
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
740
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
1
400
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
150
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
140
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
130
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
190
猫でもわかるKiro初心者編(2026年11月版)
kentapapa
1
130
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
900
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
370
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
160
Featured
See All Featured
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
180
Git: the NoSQL Database
bkeepers
PRO
433
67k
Crafting Experiences
bethany
1
460
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
How GitHub (no longer) Works
holman
316
150k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The Limits of Empathy - UXLibs8
cassininazir
2
800
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
Test your architecture with Archunit
thirion
2
2.5k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
550