Nautilus developers are actively working on one of the project repositories, /usr/src/kodekloudrepos/media. Recently, they 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_media from master branch in /usr/src/kodekloudrepos/media git repo.
Please do not try to make any changes in the code.
Login into storage server and run the following commands:
sudo su
cd /usr/src/kodekloudrepos/media
Let’s check current branch
git branch
if current branch is n’t master branch, then switch to master branch:
git switch master
Create a new branch
git checkout -b xfusioncorp_media
git branch branch-name (create only)git checkout -b branch-namegit checkout branch-name or git switch branch-namegit branch (local) or git branch -a (all)