Git Create Branches

Task :

Nautilus developers are actively working on one of the project repositories, /usr/src/kodekloudrepos/beta. They recently decided to implement some new features in the application, and they want to maintain those new changes in a separate branch. Below are the requirements that have been shared with the DevOps team:

On Storage server in Stratos DC create a new branch xfusioncorp_beta from master branch in /usr/src/kodekloudrepos/beta git repo.

Please do not try to make any changes in code.

Solutions :

$ ssh natasha@ststor01
$ cd /usr/src/kodekloudrepos/beta/
$ git branch -a
$ sudo git checkout -b xfusioncorp_beta master
$ git commit xfusioncorp_beta
$ git branch -a

Leave a Reply

Your email address will not be published. Required fields are marked *