CompTIA Linux+ XK0-006 (V8) Practice Question

You are preparing concise release notes for the file playbooks/web.yml in a Git-based automation project. You want to list exactly the last three commits that modified this file, display each commit on a single line, and show them in chronological order from the oldest to the newest so reviewers can read the changes in the order they happened. Which Git command satisfies all of these requirements?

  • git log --oneline -n 3 --reverse -- playbooks/web.yml

  • git log -p -3 --reverse -- playbooks/web.yml

  • git log --stat --since="3 days ago" -- playbooks/web.yml

  • git log --pretty=fuller -3 -- playbooks/web.yml

CompTIA Linux+ XK0-006 (V8)
Automation, Orchestration, and Scripting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot