I would use "git clean --interactive" to remove dead files and
directories from my local repository.

B

On Tue, Oct 25, 2016 at 2:11 PM, David Karr <davidmichaelk...@gmail.com> wrote:
> When I first cloned a remote repo, it had several subdirectories, and I had
> Eclipse create projects automatically.
>
> Since that time, all but one of those subdirectories have been removed from
> master.
>
> I want to just reset my local repo to match the remote, but try as I might,
> it just is not removing those leftover peer subdirectories (and contents)
> that are now removed from master on the remote.
>
> I've tried "git pull", "git pull -f", and "git reset --hard" both from the
> command line and from Eclipse.  The phantom directories are not removed.
>
> I know I could just nuke my local repo and reclone from the remote repo, but
> I do have some stashes that I'd like to preserve for now.
>
> What else do I have to do to clean up these phantoms?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
C++ tries to guard against Murphy, not Machiavelli. - Damian Conway

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to