ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 343 - XK0-005 discussion

Report
Export

The development team created a new branch with code changes that a Linux administrator needs to pull from the remote repository. When the administrator looks for the branch in Git, the branch in question is not visible. Which of the following commands should the Linux administrator run to refresh the branch information?

A.

git fetch

Answers
A.

git fetch

B.

git checkout

Answers
B.

git checkout

C.

git clone

Answers
C.

git clone

D.

git branch

Answers
D.

git branch

Suggested answer: A

Explanation:

git fetch is the command used to refresh the list of branches from the remote repository. It retrieves any new branches and updates the local metadata about the remote repository, making the branch visible locally. It does not change the working directory or merge any changes but updates the references.

asked 09/10/2024
mostafa khalaf
53 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first