Advanced Git Rebase Techniques

preview_player
Показать описание
In this video I talk about how to use interactive rebase and the rebase --onto feature to update branches and get a nice clean linear git history.

Join this channel to get access to perks:

Gear:

Music: Evan King

Creative Commons — Attribution 3.0 Unported — CC BY 3.0

0:00 Intro
0:16 Our Setup
1:10 Interactive Rebase
5:23 Rebase --onto
6:52 Outro

#git #coding #programming
Рекомендации по теме
Комментарии
Автор

I wish I had this a week ago! Mandatory watching for all SWE interns!!!

jamesseto
Автор

--update-refs is also a very nice time saver when working with small branches that build on top of eachother.
Also I would recommend anybody to just use a graphical tool (like fork) when rebasing, makes it SO much easier to see what's actually happening.

znx
Автор

git rebase has its uses but achieving linear history at all cost should not be the main goal.

brumm