{"thread":{"id":"19808","subject":"fuggedabadit","startedAt":"2009-06-14T04:51:25Z","lastAt":"2009-06-14T08:25:31Z","messageCount":3,"participants":["Phlip","Santi Béjar","Sverre Rabbelier"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116265","messageId":"4A3481CD.7050602@gmail.com","threadId":"19808","inReplyTo":"S1750942AbZFNEso/20090614044844Z+270@vger.kernel.org","subject":"fuggedabadit","fromName":"Phlip","fromEmail":"phlip2005@gmail.com","sentAt":"2009-06-14T04:51:25Z","receivedAt":"2009-06-14T04:51:25Z","isPatch":false,"sender":{"key":"phlip2005@gmail.com","avatar":null},"body":"Gitsters:\n\nEl Goog has the wrong answer for the question \"how do I forget about a file?\" \nSomeone cheerfully directed me to git rm, as equivalent to svn rm.\n\nI don't need the actual file to go away. (I, uh, mumble, checked in too much \nwhen starting out, and now git commit is slooow.)\n\nHow do I tell git to forget about a file, but leave on my hard drive?\n\n-- \n   Phlip\n   (BTW, the 1980s called - they want their mailing list software back!;)\n"},{"id":"116269","messageId":"adf1fd3d0906140007y6deac748i7f75e65f70e230a3@mail.gmail.com","threadId":"19808","inReplyTo":"4A3481CD.7050602@gmail.com","subject":"Re: fuggedabadit","fromName":"Santi Béjar","fromEmail":"santi@agolina.net","sentAt":"2009-06-14T07:07:30Z","receivedAt":"2009-06-14T07:07:30Z","isPatch":false,"sender":{"key":"santi@agolina.net","avatar":null},"body":"2009/6/14 Phlip <phlip2005@gmail.com>:\n> Gitsters:\n>\n> El Goog has the wrong answer for the question \"how do I forget about a\n> file?\" Someone cheerfully directed me to git rm, as equivalent to svn rm.\n>\n> I don't need the actual file to go away. (I, uh, mumble, checked in too much\n> when starting out, and now git commit is slooow.)\n>\n> How do I tell git to forget about a file, but leave on my hard drive?\n\nman git-rm or:\n\nhttp://www.kernel.org/pub/software/scm/git/docs/git-rm.html\n\nhave the answer.\n\nHTH,\nSanti\n"},{"id":"116274","messageId":"fabb9a1e0906140125v17e056c0o4bab3d7e8aead6ab@mail.gmail.com","threadId":"19808","inReplyTo":"4A3481CD.7050602@gmail.com","subject":"Re: fuggedabadit","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-06-14T08:25:31Z","receivedAt":"2009-06-14T08:25:31Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Sun, Jun 14, 2009 at 06:51, Phlip<phlip2005@gmail.com> wrote:\n> How do I tell git to forget about a file, but leave on my hard drive?\n\nDo you want to simply 'git rm --cached && git commit -m \"remove file\"'\n to create a commit that removes it, or do you want to remove the file\nfrom your repo's history too? If the latter is the case, you should\nlook into 'git filter-branch'.\n\n-- \nCheers,\n\nSverre Rabbelier\n"}]}