filmov
tv
How to use Git - Git Video Tutorial - Part 6 (branch, checkout, remote)

Показать описание
Git Video Tutorial, Branching!
Whew been a fun ride. Thank you all for the great support throughout the series. Really appreciate it! If I could teach and made vids for a living I would =)...even if everyone hated them!
Today it's git branching. Such a great but slightly intimidating feature of GIT. The concept is simple. You create a new branch ("copy") of your project and work on either new versions of the project, or experimental features, all without messing with other branches code.
A great use is on a big project I've been on at work. We split the project up into 3 batches. Each page had roughly 30 web pages in it. When we sent batch 1 (master) to the client, they wanted small updates. However, we still had to work on batch 2. We didn't want to send them batch 2 progress with batch 1 updates, so we made a new branch called "batch 2" and kept our new code separate from our batch 1 code. When the client was ready for batch 2, we just merged master (batch 1) into batch 2 and gave em both!
Whew been a fun ride. Thank you all for the great support throughout the series. Really appreciate it! If I could teach and made vids for a living I would =)...even if everyone hated them!
Today it's git branching. Such a great but slightly intimidating feature of GIT. The concept is simple. You create a new branch ("copy") of your project and work on either new versions of the project, or experimental features, all without messing with other branches code.
A great use is on a big project I've been on at work. We split the project up into 3 batches. Each page had roughly 30 web pages in it. When we sent batch 1 (master) to the client, they wanted small updates. However, we still had to work on batch 2. We didn't want to send them batch 2 progress with batch 1 updates, so we made a new branch called "batch 2" and kept our new code separate from our batch 1 code. When the client was ready for batch 2, we just merged master (batch 1) into batch 2 and gave em both!
Комментарии