I always suggest the gui at time like this.

run 'gitk'.  Right click on the commit you want to rollback to, and
choose "reset master to here" (or some such wording).  In the
resulting prompt, choose "hard" (the third option).

This is assuming you really want to lose all the changes between that
commit and the current value of master, and that you don't have any
uncommitted changes you want to keep.

On Sat, Mar 14, 2009 at 1:10 AM, Josh Rachner <[email protected]> wrote:
> Thanks, but I think its the reset part I dont know how to do...
>
> On Fri, Mar 13, 2009 at 2:36 PM, Tekkub <[email protected]> wrote:
>>
>> Reset your local master to the point you want, then `git push --force
>> origin master`
>>     Tekkub
>>     GitHub General Support
>>     http://support.github.com/
>>     Join us on IRC: #github on freenode.net
>>     Discussion group: [email protected]
>>
>> On Fri, Mar 13, 2009 at 1:23 PM, [email protected]
>> <[email protected]> wrote:
>>>
>>> How can I rollback master on github?
>>>
>>>
>>
>>
>>
>
>
> >
>

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