Which of the following Git arguments should be used to see the recent modifications?

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?
A. fetch
B. log
C. init
D. pull

comptia-exams

3 thoughts on “Which of the following Git arguments should be used to see the recent modifications?

  1. The questions is confusing but what the admin is trying to do is do a git pull to see if there is any new file and the git log to confirm the file.

    1
    2
    1. It is confusing but the wording is important, the admin already cloned the repo to his local machine using git clone. He wants to SEE recent changes to the repo, git pull will PULL down recent changes which he just did with git clone. So for him to see changes prior to him downloading he needs to SEE the log. So git log is the only answer that makes sense.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.