wow, it works! Now i'm able to convert all my cvs repositorys into git.
Thank you very much.
Greetings from Hanover,
Stephan
2013/9/15 William Seiti Mizuta
> If you have used this command: git remote add myserver user@myserver
> :/var/www/server_git, then your remote repository is aliased myser
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:
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
> When you executed the command: git remote add, what were the parameters
> that you used?
>
>
> William Seiti Mizuta
> @williammizuta
> Caelum | Ensi
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
On Sat, Sep 14, 2013 at 3:35 PM, Stephan Nikolaus <
stephan.nikol...@googlemail.com> wrote:
> Yes, i did. Sorry, it was just a
Yes, i did. Sorry, it was just a typing error in the email.
2013/9/14 William Seiti Mizuta
> You changed the order. It is
>
> git reset --hard origin/master
>
>
> William Seiti Mizuta
> @williammizuta
> Caelum | Ensino e Inovação
> www.caelum.com.br
>
>
> On Sat, Sep 14, 2013 at 6:26 AM, Stepha
You changed the order. It is
git reset --hard origin/master
William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br
On Sat, Sep 14, 2013 at 6:26 AM, Stephan Nikolaus <
stephan.nikol...@googlemail.com> wrote:
> Hi,
>
> it was not succesfully. The following message came
Hi,
it was not succesfully. The following message came:
$ git reset --hard master/origin
fatal: ambiguous argument 'origin/master': unknown revision or path not in
the working tree.
[...]
2013/9/13 William Seiti Mizuta
>
> On Fri, Sep 13, 2013 at 6:38 PM, Stephan Nikolaus <
> stephan.nikol..
On Fri, Sep 13, 2013 at 6:38 PM, Stephan Nikolaus <
stephan.nikol...@googlemail.com> wrote:
> cd mylocal
> git remote add myserver user@myserver:/var/www/server_git
> fetch myserver
> git reset --hard origin/master
>
You are correct. Just clean every file in your mylocal directory before
using th
Hi William,
thank you.
You're right, i want to copy the branch master state of my remote
repository to my local branch master and i I think the command is what I'm
looking for.
But what to do before? Must i go into the local branch and then fetch from
server?
For example I have a local repositor
Hi Stephan,
do you want to copy the branch master state of your remote repository to
your local branch master? If yes, you can do it using the command: git
reset --hard origin/master
With that you will lose all changes that are in your local branch but not
in your remote branch.
William Seiti M
10 matches
Mail list logo