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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
sjonnet
May 15, 2019
Technology
69
0
Share
Git
sjonnet
May 15, 2019
More Decks by sjonnet
See All by sjonnet
Testing
sjonnet
1
87
Services
sjonnet
1
82
Pollyfills
sjonnet
1
80
MVC
sjonnet
4
210
extCSS
sjonnet
1
110
Error
sjonnet
1
70
Other Decks in Technology
See All in Technology
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
4
1.7k
エージェントスキルを作って自分のインプットに役立てよう
tsubakimoto_s
0
360
AIはハッカーを減らすのか、増やすのか?──現役ホワイトハッカーから見るAI時代のリアル【MEGU-Meet】
cscengineer
0
160
MLOps導入のための組織作りの第一歩
akasan
0
340
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
thara0402
0
410
社内エンジニア勉強会の醍醐味と苦しみ/tamadev
nishiuma
0
210
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
M5Stack CoreS3とZephyr(RTOS)で Edge AIっぽいことしてみた
iotengineer22
0
220
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
16k
Amazon S3 Filesについて
yama3133
2
210
Keeping Ruby Running on Cygwin
fd0
0
160
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
150
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
HDC tutorial
michielstock
2
630
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
760
BBQ
matthewcrist
89
10k
Prompt Engineering for Job Search
mfonobong
0
270
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
280
Music & Morning Musume
bryan
47
7.2k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
340
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
27
3.4k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
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