Where to start First steps track · 15 stages
Linux Labs

Automation: Git and Ansible

Quiz: git for configuration

Question 1 of 10
Leave the quiz

An uncommitted edit and git diff, git restore, history with git log -p and git blame, undoing a commit with git revert, a root-owned repository and sudo git; a refused git pull, git stash, git push and a conflict. The questions follow the lessons “The history of configuration changes” and “Config from a repository: pull and conflicts”.

10 questions · threshold 70%

One correct answer

nginx fell over after an edit, and git status reported conf.d/lab-site.conf as modified. Which command shows the changed lines themselves?

A–D or ↵ Sign in to answer
Loading…