When you create a new branch it isolates your work from the point you created the branch. Now you can work on the new branch separately without affecting the original branch. This can help you to isolate your work from other developers working on the same project.
~/devops
directory git branch
commandfeature_a
branch then checkout to feature_a
branch using git checkout feature_a
commandprint("Hello World")
in file helloworld.py
print("I am learning git")
to the file helloworld.py
. We can use either vi
or nano
editor to append the line. Or you can use echo
command.git status
command
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...