DEV Community

Maxim Nosov ✪
Maxim Nosov ✪

Posted on

Working in multiple branches - git

Today I have been adding some features to the tool:

1) Added an optional -l, --lang, and/or \l flag, which indicates the language to use when generating the lang attribute on the root element issue-3

For example :

simple-ssg1 silver-blaze -l es

would generate HTML page with

<html lang = "es"/>

2) Added exit codes, if code run successfully and created an html page, then it will return 0, overwise -1. issue-4

It was a great experience to get! I created 2 branches for each of my features. After that on each of the branch I wrote the code.

Upon finishing implementing features, I merged 2 branches with
the main branch (without merge conflicts).

Overall, I enjoyed working on multiple branches, because it gives more capabilities to work with the same code and also that the code you write is not going to effect the main branch.

That's why you can try anything you want without being worried :)

Top comments (0)