If you have used this command: git remote add myserver user@myserver :/var/www/server_git, then your remote repository is aliased myserver. So, for the reset command, you need to tell that you are using myserver: git reset --hard myserver/master.
You can check this by listing the remote branches: git branch -r William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sun, Sep 15, 2013 at 3:49 AM, Stephan Nikolaus < [email protected]> wrote: > No parameters, just the adress and path of remote server. > Must there be some more parameter(s)? > > Regards, > Stephan > > > 2013/9/15 William Seiti Mizuta <[email protected]> > >> When you executed the command: git remote add, what were the parameters >> that you used? >> >> >> William Seiti Mizuta >> @williammizuta >> Caelum | Ensino e Inovação >> www.caelum.com.br >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
