[LINUX] Clean up the repository at the end of the year and delete DS.store

Overview

Everyone, thank you for your hard work this year! !! I think that I will create apps with various tutorials for a year and offer them to Github, but I think that there are many repositories where DS.store is up and running after gitignore.

So, let's clean the DS.store under the directory! !!

Confirm Move to the directory of your app

cd <Your app name>

DS.store confirmation

find . -name ".DS_Store"

Did you have a lot of DS.store? (Lol

Search and delete DS.store

Let's erase it! This is beautiful and refreshing! !!

find . -name ".DS_Store" | xargs rm

For the time being, confirm

find . -name ".DS_Store"

If there is no display, it is beautiful! Let's push to origin main (master)! !!

Afterword

If you look at a repository with a lot of DS.store on Github, you can't deny the feeling of "Oh! Beginners !!", so for new projects, you should write it in gitignore first. .. Diligent cleaning is important including reality! !!

Recommended Posts

Clean up the repository at the end of the year and delete DS.store
Python Basic Course (at the end of 15)
Summarize the titles of Hottentori at the end and look at the present on the Web
Send Gmail at the end of the process [Python]
Remove specific strings at the end of python
How to insert a specific process at the start and end of spider with scrapy
See the power of speeding up with NumPy and SciPy
The story of Python and the story of NaN
Look up the names and data of free variables in function objects
Try to react only the carbon at the end of the chain with SMARTS
python> print> Redirected only at the end of processing?> Run with -u