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:
Verified
Q209: Given the output below: [root@appserver ~]# rm
Q210: A systems administrator needs to run the
Q211: A user is reporting unusual slowness when
Q212: The Apache web server was recently installed
Q213: A company requires all servers to be
Q215: Which of the following can be used
Q216: A systems administrator needs to connect to
Q217: A Linux administrator tried to copy files
Q218: A technician suspects a company's border firewall
Q219: A systems administrator needs to conduct maintenance
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents