Solved

A Linux Administrator Needs to Add Some Files in a Directory

Question 214

Multiple Choice

A Linux administrator needs to add some files in a directory to the Git repository but must exclude some local .tmp files that are occasionally created by the scripts. Which of the following is the BEST way to accomplish this task?


A) git rm .tmp
B) git add -x .tmp *
C) echo .tmp >> .gitignore
D) rm -rf .tmp

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents