Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires In

  Enroll Now

GitHub Project - Getting Started with Git - Commit in the new branch

You can make commits in the new branch. This will take snapshot of the changes you made in that branch.

INSTRUCTIONS
  • Make sure you are in ~/devops directory
  • Check the branch you are in using git branch command
  • If you are not on feature_a branch then checkout to feature_a branch using git checkout feature_a command
  • Check the working tree status using git status command
  • helloworld.py file should be shown as modified under Changes not staged for commit: when git status command is run
  • Add the helloworld.py file to staging area using git add command
  • Commit the change to branch feature_a using git commit command with the message "Added I am learning git line"
  • -m flag can be used to provide message while committing

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...