ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 236 - XK0-005 discussion

Report
Export

A senior Linux administrator has created several scripts that will be used to install common system applications. These scripts are published to a reposito-ry to share with the systems team. A junior Linux administrator needs to re-trieve the scripts and make them available on a local workstation. Which of the following Git commands should the junior Linux administrator use to accom-plish this task?

A.
fetch
Answers
A.
fetch
B.
checkout
Answers
B.
checkout
C.
clone
Answers
C.
clone
D.
branch
Answers
D.
branch
Suggested answer: C

Explanation:

To retrieve the scripts from a repository and make them available on a local workstation, the junior Linux administrator can use the commandgit clone. This will create a copy of the repository on the local machine, including all the scripts and history. The other commands will not clone the repository, but either fetch, checkout, or branch from an existing repository.Reference:

[CompTIA Linux+ Study Guide], Chapter 10: Working with Git, Section: Cloning Repositories with Git

[How to Clone a Git Repository]

asked 02/10/2024
marco damone
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first