nerdexam
CompTIA

XK0-004 · Question #192

A Linux systems administrator is implementing Source Code Management for the web application server configuration files located in /etc/httpd/. Which of the following steps should the administrator…

The correct answer is B. Create a new repository using `git init'. git-init - Create an empty Git repository or reinitialize an existing one git-config - Get and set repository or global options

Scripting, Containers and Automation

Question

A Linux systems administrator is implementing Source Code Management for the web application server configuration files located in /etc/httpd/. Which of the following steps should the administrator perform FIRST?

Options

  • AClone the remote repository using `git clone'
  • BCreate a new repository using `git init'
  • CRetrieve the remote changes using `git commit'
  • DConfigure the directory for git using `git config'

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    93% (25)
  • C
    4% (1)

Explanation

git-init - Create an empty Git repository or reinitialize an existing one git-config - Get and set repository or global options

Topics

#Git#git init#repository initialization#source code management

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice