CompTIA
XK0-005 · 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
(46 responses)- A4% (2)
- B93% (43)
- D2% (1)
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#Version Control#Repository Management#Command Line Interface
Community Discussion
No community discussion yet for this question.