{"id":254,"date":"2015-04-29T17:13:33","date_gmt":"2015-04-29T17:13:33","guid":{"rendered":"https:\/\/www.tech.shinynewthings.com\/?p=254"},"modified":"2015-04-29T17:21:26","modified_gmt":"2015-04-29T17:21:26","slug":"git-remove-ds_store-from-commits","status":"publish","type":"post","link":"https:\/\/www.tech.shinynewthings.com\/?p=254","title":{"rendered":"Gitignore template and Git Remove .DS_Store from commits."},"content":{"rendered":"<h1>.gitignore<\/h1>\n<pre>\/.buildpath\n\/build\/\n*\/archive\/\n\n__MACOSX\n.DS_Store\n\n.project\n.settings\n.classpath\n.sass-cache\/\n\n# OS generated files #\n######################\n*\/.DS_Store\n.DS_Store\n.DS_Store?\n._*\n.Spotlight-V100\n.Trashes\nIcon?\nehthumbs.db\nThumbs.db\n\n# Packages #\n############\n# it's better to unpack these files and commit the raw source\n# git has its own built in compression methods\n*.7z\n*.dmg\n*.gz\n*.iso\n*.jar\n*.rar\n*.tar\n*.zip\n\n# Logs and databases #\n######################\n*.log\n*.sql\n*.sqlite\n\n# Modules, components, dist, tmp #\n##################################\nnode_modules\nbower_components\ndist\n.tmp\n.sass-cache\n\n<\/pre>\n<h1>This is nice to remember.<\/h1>\n<pre>$ git rm --cached .DS_Store\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>.gitignore \/.buildpath \/build\/ *\/archive\/ __MACOSX .DS_Store .project .settings .classpath .sass-cache\/ # OS generated files # ###################### *\/.DS_Store .DS_Store .DS_Store? ._* .Spotlight-V100 .Trashes Icon? ehthumbs.db Thumbs.db # Packages # ############ # it&#8217;s better to unpack these files and commit the raw source # git has its own built in compression methods *.7z *.dmg *.gz *.iso *.jar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-254","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=\/wp\/v2\/posts\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=254"}],"version-history":[{"count":4,"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":258,"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=\/wp\/v2\/posts\/254\/revisions\/258"}],"wp:attachment":[{"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tech.shinynewthings.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}