{"id":1397,"date":"2013-10-18T13:39:40","date_gmt":"2013-10-18T13:39:40","guid":{"rendered":"http:\/\/leonardocotta.com.br\/blog\/?p=1397"},"modified":"2013-10-18T13:39:40","modified_gmt":"2013-10-18T13:39:40","slug":"problemas-com-seu-gitignore-ele-nao-funciona","status":"publish","type":"post","link":"https:\/\/leonardocotta.com.br\/?p=1397","title":{"rendered":"Problemas com seu .gitignore? Ele n\u00e3o funciona?"},"content":{"rendered":"<p>Ent\u00e3o. J\u00e1 se deparou com esse problema catastr\u00f3fico ao tentar ignorar um arquivo em seu projeto utilizando o .gitignore? Tenho certeza que muita gente tamb\u00e9m tem esse problema. Ent\u00e3o, pesquisando com uma certa paci\u00eancia no Google, encontrei um blog americano falando sobre isso. A solu\u00e7\u00e3o \u00e9 muito mais simples do que todos n\u00f3s podemos imaginar:<\/p>\n<pre class=\"bash\" style=\"font-family:monospace;\">$ <span style=\"color:#c20cb9;font-weight:bold;\">git rm<\/span> <span style=\"color:#660033;\">-r<\/span> <span style=\"color:#660033;\">--cached<\/span> .\n$ <span style=\"color:#c20cb9;font-weight:bold;\">git add<\/span> .<\/pre>\n<p>FONTE:<a href=\"http:\/\/www.woompa.blog.br\/2011\/07\/13\/problemas-com-seu-gitignore-ele-nao-funciona\/\">http:\/\/www.woompa.blog.br\/2011\/07\/13\/problemas-com-seu-gitignore-ele-nao-funciona\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ent\u00e3o. J\u00e1 se deparou com esse problema catastr\u00f3fico ao tentar ignorar um arquivo em seu projeto utilizando o .gitignore? Tenho certeza que muita gente tamb\u00e9m tem esse problema. Ent\u00e3o, pesquisando com uma certa paci\u00eancia no Google, encontrei um blog americano falando sobre isso. A solu\u00e7\u00e3o \u00e9 muito mais simples do que todos n\u00f3s podemos imaginar: &hellip; <a href=\"https:\/\/leonardocotta.com.br\/?p=1397\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Problemas com seu .gitignore? Ele n\u00e3o funciona?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[39],"tags":[126,130],"class_list":["post-1397","post","type-post","status-publish","format-standard","hentry","category-git","tag-git","tag-gitignore"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1397"}],"version-history":[{"count":0,"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1397\/revisions"}],"wp:attachment":[{"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leonardocotta.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}