Technical-writing-mentorship-program / Technicalwritingcourse

This repo contains resources to help you kick start your technical writing career.
https://technicalwritingmp.com/
MIT License
80 stars 34 forks source link

Remove MacOS .DS_Store files #64

Closed jcubic closed 7 months ago

jcubic commented 7 months ago

They don't belong to the repository and should be put into .gitignore.

github-actions[bot] commented 7 months ago

Hi, Welcome to the technical writing mentorship program community! We're so glad you took the time to report your' first issue

wise4rmgod commented 7 months ago

Thanks, i will remove it now.

jcubic commented 7 months ago

You can do this from the terminal:

find . -name '.DS_Store' | xargs git rm --cached

it will remove the files from git but keep them in your directory.

and then you can add that file to .gitginore.

wise4rmgod commented 7 months ago

Thanks for the command but it didn't work, so I used this to remove it

git rm --cached '*.DS_Store'