SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

DEVOPS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The Git clone command does which of the following?
A
Makes a local copy of the repository
B
Creates a working directory
C
Commits a new branch
D
Both 1 & 2
Explanation: 

Detailed explanation-1: -git clone is primarily used to point to an existing repo and make a clone or copy of that repo at in a new directory, at another location. The original repository can be located on the local filesystem or on remote machine accessible supported protocols. The git clone command copies an existing Git repository.

Detailed explanation-2: -Git clone is used to copy an existing Git repository into a new local directory. The Git clone command will create a new local directory for the repository, copy all the contents of the specified repository, create the remote tracked branches, and checkout an initial branch locally.

Detailed explanation-3: -By default, the git clone command duplicates all the branches from a Git repository .

There is 1 question to complete.