Simplest route is usually to just pull a new clone.  Otherwise, assuming the
remote is named "origin" and the branch is "master"...

git remote fetch origin

git reset --hard origin/master


    Tekkub
    GitHub Tech Support
    http://support.github.com/
    Join us on IRC: #github on freenode.net
    Discussion group: [email protected]

On Wed, Jan 6, 2010 at 8:34 PM, trans <[email protected]> wrote:

> What's the easiest way to re-sync a forked repo to the original. I
> don't need to keep any of the changes I may have made.
>
> 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]<github%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/github?hl=en.
>
>
>
>
--
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