CompTIA
XK0-004 · Question #118
A Linux administrator retrieved a repository of files from a Git server using git clone. The administrator wants to see if a configuration file was added to the repository. Which of the following…
The correct answer is B. log. Usage: git log –follow[file] This command lists version history for a file, including the renaming of files also. https://dzone.com/articles/top-20-git-commands-with-examples
Scripting, Containers and Automation
Question
A Linux administrator retrieved a repository of files from a Git server using git clone. The administrator wants to see if a configuration file was added to the repository. Which of the following Git arguments should be used to see the recent modifications?
Options
- Afetch
- Blog
- Cinit
- Dpull
How the community answered
(50 responses)- A2% (1)
- B90% (45)
- C2% (1)
- D6% (3)
Explanation
Usage: git log –follow[file] This command lists version history for a file, including the renaming of files also. https://dzone.com/articles/top-20-git-commands-with-examples
Topics
#git log#repository history#Git commands#version control
Community Discussion
No community discussion yet for this question.