Solved

A Linux Administrator Needs to Add Some Files in a Directory

Question 103

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