Loading...

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

26,113 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Uploaded on Dec 11, 2011

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!

Loading...

Advertisement
When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...