@Inderpreet @Ayman or anyone in the team comment to check where I went wrong on this:
Task: Git Create Branches
Assignment went like this …On Storage server in Stratos DC create a new branch xfusioncorp_beta
from master branch in /usr/src/kodekloudrepos/beta git repo.
Failed with message that kodekloud_beta was not created:
From the assignment, I was required to create xfusioncorp_beta and not kodekloud_beta. Kodekloud_beta is the master and is already existing. Please assist to validate this task correctly. See how i did this:
[root@ststor01 ~]# cd /usr/src/kodekloudrepos/beta/
[root@ststor01 beta]# ls -al
total 20
drwxr-xr-x 3 root root 4096 Jun 15 21:13 .
drwxr-xr-x 3 root root 4096 Jun 15 21:13 …
-rw-r–r-- 1 root root 34 Jun 15 21:13 data.txt
drwxr-xr-x 8 root root 4096 Jun 15 21:13 .git
-rw-r–r-- 1 root root 34 Jun 15 21:13 info.txt
[root@ststor01 beta]# git status
On branch kodekloud_beta
nothing to commit, working directory clean
[root@ststor01 beta]#git checkout -b xfusioncorp_beta kodekloud_beta
Switched to a new branch ‘xfusioncorp_beta’
[root@ststor01 beta]# git status
On branch xfusioncorp_beta
nothing to commit, working directory clean[root@ststor01 beta]#