GIT

Git — Creating a new branch on your local repo

This post is assuming that you already have an installed repo on your local machine. Please note that I am using GIT Bash as my application.

So we start by going to the directory where your repo is installed, we do that by using the command:

$ cd C:User/path/to/my/local/repo

To make sure you have the latest commit on your local use the command:

$ git pull

Now to create a new branch, use the command:

$ git checkout -b this_is_my_new_branch

That’s it! Start coding! 🙂

 

 

Bonus: to actively watch your updates and autocompile your .scss and js files, use the command:

$ npm run watch