If you just want to untrack a file, `git rm --cached filename`. Remove "--cached" if you want the local copy deleted also. Tekkub Github General Support http://support.github.com/ Join us on IRC: #github on freenode.net Discussion group: [email protected]
On Fri, Nov 28, 2008 at 7:21 PM, Dale Campbell <[EMAIL PROTECTED]> wrote: > > This Github Guide might be of use: > > http://github.com/guides/completely-remove-a-file-from-all-revisions > > On Nov 28, 1:45 pm, Jeremy <[EMAIL PROTECTED]> wrote: > > I have a question, but I'm not sure I'm asking the right question. > > > > Basically, I started developing, started pushing my commits to GitHub, > > all is great. Now I've added a .gitignore file after several commits > > and cannot for the life of me figure out how to get those files out of > > my commits going forward. I've untracked the files locally using git > > rm, but I can't get them out of my repository. How do I do it? > > > > Thanks!! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
