Login using Social Account
     Continue with GoogleLogin using your credentials
We can create a new branch using the command git branch <branch_name>
.
For example, to create a testing
branch, type below command in the terminal
git branch testing
To checkout to testing branching, type below command
git checkout testing
With -b
switch we can combine the above two steps into one. For example, to create the dev
branch and checkout to it at the same time, user below command
git checkout -b dev
~/devops
directory git branch
commandmaster
then checkout to master
branch using git checkout master
commandfeature_a
and checkout to that branchTaking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...