git reset HEAD^

You might to look at the --hard or --soft options.
On Jan 24, 2013 8:35 PM, <adri...@localhost8080.com.br> wrote:

> Hy
>
> Today I commited two Java classes, but I didn't push..
>
> how can I exclude my commit? I want my code like before my commit...
>
> I use e-git in eclipse.. but i can use git command line too..
>
> Thanks!
> Adriano Schmidt
> http://www.localhost8080.com.br
>

-- 


Reply via email to