- Overview
- Transcript
1.1 Introduction
In this course, I'll show you how easy it is to use branches in your own Git workflow. I'll teach you the git branch
syntax, and I'll explain how branches fit into an overall development strategy.
1.1 Introduction
The whole Git workflow is built around creating and fusing branches together. Branching is a killer feature of Git. As a beginner, it is important to understand its power and potential. Branching in Git is not only very easy, it is also very cheap. We always have a main line for development, the master branch. But we can create an endless number of branches without any serious side effects, except that the housekeeping is a good idea. With a branch, we can safely diverge from the main line of development and work on new features that can be proposed to be integrated into the master branch. If acceptable, it's just a merge or a rebased away from getting into production. If, on the other hand, the work on the branch does not fulfill the requirements needed, you can simply continue your work on that branch or abandon it altogether.