If you don't mind "Old Src" showing up in your project history, the
simplest thing to do is just to delete it with "git rm" and then push it.

If it contains sensitive information or you otherwise need to obliterate it
entirely from history, you can remove it with git filter-branch (please
read the docs on that first :). Note that the old source will still exist
in any clones that people have made. And it completely rewrites history,
which will make you unable to share history with any other clones out there.

On Thu, Nov 10, 2011 at 04:39, Izanagi <[email protected]> wrote:

> I recently setup a project and connected Eclipse to it through the use
> of EGit. Unfortunately, due to an incorrect configuration to start
> with as I learned the tool, I sent just a folder to the Git Repo and
> not the full project the first time. I then later correctly configured
> it to properly upload the full Project into the Repo. This has left me
> with an extra folder I want to remove from my Repo but I've not yet
> found a way within either Google Code Hosting or EGit to do this. I'd
> rather not install a separate Git tool to be able to do this when I
> will largely just be using EGit from within Eclipse for everything
> else.
>
> Ie. My Git structure now looks like:
> -git
>  |- Project
>  |   |- <project folders and files>
>  |
>  |- Old Src
>
>
> And I would like to remove the Old Src folder from the Git Repo of my
> project.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Hosting on Google Code" 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/google-code-hosting?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" 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/google-code-hosting?hl=en.

Reply via email to