git reset or git checkout can both do it, depending on exactly what you want
to do.  I would suggest you check out the Pro Git book:
http://progit.org/ It covers basically everything you should ever need
to know.
    Tekkub
    GitHub Tech Support
    http://support.github.com/
    Join us on IRC: #github on freenode.net
    Discussion group: [email protected]


On Thu, Oct 8, 2009 at 1:43 PM, Gaveen Prabhasara <[email protected]> wrote:

> On Thu, Oct 8, 2009 at 9:15 PM, Wils <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I did some changes on my local files, I don'tt need these changes and
>> I'd like to get the changes from my remote server.
>>
>> On CVS/SVN I have a option on my Eclipse plugin: override and update
>>
>> How can I do the same with Git?
>>
>
> Isn't it easy just to do a "git reset --hard" (optionally to the commit in
> history,
> which you want) and then pull?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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