List of questions
Related questions
Question 261 - XK0-005 discussion
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
Your answer:
0 comments
Sorted by
Leave a comment first