ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 369 - XK0-005 discussion

Report
Export

A Linux systems administrator is updating code. After completing the update, the administrator wants to publish the updated code without including the configuration files. Which of the following should the administrator use to accomplish this task?

A.

git clone

Answers
A.

git clone

B.

git -

Answers
B.

git -

C.

.gitignore

Answers
C.

.gitignore

D.

git fetch

Answers
D.

git fetch

Suggested answer: C

Explanation:

The .gitignore file is used in Git to specify which files or directories should be ignored in a repository. By listing configuration files in the .gitignore file, the administrator ensures they are not included in any future commits or pushes to the remote repository. This is essential when dealing with sensitive or environment-specific files that should not be shared or deployed.

asked 18/10/2024
Vincent Meuldijk
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first