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
Search
sjonnet
May 15, 2019
Technology
0
65
Git
sjonnet
May 15, 2019
Tweet
Share
More Decks by sjonnet
See All by sjonnet
Testing
sjonnet
1
82
Services
sjonnet
1
74
Pollyfills
sjonnet
1
77
MVC
sjonnet
4
200
extCSS
sjonnet
1
93
Error
sjonnet
1
66
Other Decks in Technology
See All in Technology
テストを軸にした生き残り術
kworkdev
PRO
0
210
【NoMapsTECH 2025】AI Edge Computing Workshop
akit37
0
220
Snowflake Intelligenceにはこうやって立ち向かう!クラシルが考えるAI Readyなデータ基盤と活用のためのDataOps
gappy50
0
270
職種の壁を溶かして開発サイクルを高速に回す~情報透明性と職種越境から考えるAIフレンドリーな職種間連携~
daitasu
0
170
250905 大吉祥寺.pm 2025 前夜祭 「プログラミングに出会って20年、『今』が1番楽しい」
msykd
PRO
1
980
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
1
490
スマートファクトリーの第一歩 〜AWSマネージドサービスで 実現する予知保全と生成AI活用まで
ganota
2
280
slog.Handlerのよくある実装ミス
sakiengineer
4
420
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
2
1k
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
420
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
130
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
450
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
525
40k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Side Projects
sachag
455
43k
Fireside Chat
paigeccino
39
3.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building Applications with DynamoDB
mza
96
6.6k
Embracing the Ebb and Flow
colly
87
4.8k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
We Have a Design System, Now What?
morganepeng
53
7.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Making Projects Easy
brettharned
117
6.4k
Transcript
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