Making Point In Time and Working Branches
Goal: By the end of this document you'll have created a "point in time" branch for the start of the project and made a working branch for this week.
Creating a "Point In Time" branch in SourceTree
A "Point in Time" branch is simply a branch in a git repository which is meant to capture and retain what a project looked like at a particular point. There is nothing special or magical about it other than it exists and we can revert our project back to it if we decide to. Chances are we will never access this branch again but it is here as a "safety" net incase we need to revert back to it or reference it.
Open up SourceTree and make sure you have the Main or Master branch of your project selected and in bold in the left hand menu.
Create a new branch called
pointInTime/original by clicking
on the Branch Icon in the top toolbar and typing in the nameDouble click on Main in the left menu to go back to the main branch.
Creating our working branch for this week
In SourceTree, make sure that your Main or Master branch is in bold in the left menu
Create a new branch called week2 by clicking on the Branch icon in the top toolbar and typing in the name.
Leave that branch checked out while we do our work for this week.
Last updated