Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

CompTIA Linux+ Exam XK0-005 Question # 112 Topic 12 Discussion

CompTIA Linux+ Exam XK0-005 Question # 112 Topic 12 Discussion

XK0-005 Exam Topic 12 Question 112 Discussion:
Question #: 112
Topic #: 12

An administrator created an initial Git repository and uploaded the first files. The administrator sees the following when listing the repository:

The administrator notices the file . DS STORE should not be included and deletes it from the online repository. Which of the following should the administrator run from the root of the local repository before the next commit to ensure the file is not uploaded again in future commits?


A.

rm -f .DS STORE && git push


B.

git fetch && git checkout .DS STORE


C.

rm -f .DS STORE && git rebase origin main


D.

echo .DS STORE >> .gitignore


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.