Getting Started with Git

2 / 16

GitHub Project - Getting Started with Git - Creating a Local Repository

git init command is used for creating a new blank repository or make an existing project as a git project. This command creates a .git folder that contains subdirectory and a HEAD file that stores the HEAD of the master branch.

INSTRUCTIONS
  • Create a devops directory in your home directory
  • Go to devops directory
  • Run git init to initialize a git repository
Get Hint See Answer


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...