Thank you!

Removing directories considered harmful :)

Anyway thanks for explanation. It is wery clean for me now.

On 21 янв, 18:22, Sitaram Chamarty <[email protected]> wrote:
> On Wed, Jan 21, 2009 at 12:28 PM, Alex Gusev <[email protected]> wrote:
> > git filter-branch --tree-filter 'rm -rf vendor/plugins/liquid' HEAD
>
> > and git told me "Ref 'refs/heads/master' was rewritten".
>
> > But when i saild then "git commit -a" it answered:
>
> > # On branch master
> > # Your branch and 'origin/master' have diverged,
> > # and have 33 and 33 different commit(s) each, respectively.
> > #
> > nothing to commit (working directory clean)
>
> > What i did wrong?
>
> Nothing.  It seems to have worked.  Since each new tree will be
> different from the original (in hat the liquid directory would have
> been deleted, the SHA1 are all different than they were before.
>
> Of course, you changed the history of a project that was, evidently,
> already pushed up to some other server, so you may now have to do a
> "git push -f" to get your completely different tree on to "origin".
>
> This is NOT advisable if other people have cloned from that tree,
> under normal circumstances.  But only you can know how important it
> was to delete that directory from all versions versus the pain of
> changing history on an already shared tree.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to