EMERGING TRENDS IN SOFTWARE ENGINEERING
DEVOPS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
git start
|
|
git new
|
|
git initialize
|
|
git init
|
Detailed explanation-1: -To create a new repo, you’ll use the git init command. git init is a one-time command you use during the initial setup of a new repo. Executing this command will create a new .git subdirectory in your current working directory.
Detailed explanation-2: -If you want to initialize an empty repository to a directory in Git, you need to enter the git init command.
Detailed explanation-3: -You can use the git init–shared command on an existing repo to set the config value. You also need to do the chmod command to get the permissions of the files right. To confirm this also helps if you’re in a mess because someone has done a git pull etc.
Detailed explanation-4: -Fill in the name of your project in the Project name field. Enter the project description, if you have one. Set the project’s visibility level appropriately. Select the initialize repository with a README option, which will initialize the repository and set it up properly. Click create project.