3 ms·
I'm not sure why a shell script called push.sh is included in the repo, but I suspect it is because the author is not aware of .gitignore. find . -type f -na
by sgt 6y ago
I'm not sure why a shell script called push.sh is included in the repo, but I suspect it is because the author is not aware of .gitignore.
find . -type f -name "*.DS_Store*" -exec rm -f {} \;
Allow me to help; https://git-scm.com/docs/gitignore https://git-scm.com/docs/gitignore
- saagarjha 6y agoUseful for Mac users: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore https://github.com/github/gitignore/blob/master/Global/macOS...
- modderation 6y agoI've been leaning on an online .gitignore generator [1] as of late. Just punch in whichever combination of OS, Build Tool, and Development Environment you're using, and it provides some reasonable defaults that filter out IDE config files, temporary files, build output, and other undesirable shrapnel. As an added bonus, the site outputs a URL that can be easily fetched with your command line tool of choice and output directly to a .gitignore file. [1] https://www.toptal.com/developers/gitignore https://www.toptal.com/developers/gitignore formerly known as [2] [2] https://gitignore.io https://gitignore.io is the easier-to-remember entry point.