Re: Clone repository computer A to remote B doenst work

2017-11-26 Thread Roberto Garcia
Thanks you very much:
I have QNAP NAS,
Finally I have installed QGit (from forum QNAP because you can't find
in app center) from here:
https://forum.qnap.com/viewtopic.php?f=320=109649
I used SSH for create a bare repository in the server side.
Once it was created i went to the local machine and i wrote:
git clone user@ip:/my/path/in/the/server/git
I put my files, add and commit to the new git repository created by git clone.
Now i can use git push to commit the changes into the server

Thanks you very much!!!
Regards,
Roberto


2017-11-25 23:38 GMT+01:00 Johannes Schindelin <johannes.schinde...@gmx.de>:
> Hi Roberto,
>
> On Sat, 25 Nov 2017, Roberto Garcia wrote:
>
>> I'm trying clone in windows a git repository to other remote machine
>> (NAS Linux based).
>> I have installed git for windows but i didn't installed nothing in the
>> other remote machine (NAS Linux based).
>
> You need a Git on the remote side. Otherwise Git will not be able to clone
> from there.
>
> Ciao,
> Johannes


Clone repository computer A to remote B doenst work

2017-11-25 Thread Roberto Garcia
Hello all,

I'm trying clone in windows a git repository to other remote machine
(NAS Linux based).
I have installed git for windows but i didn't installed nothing in the
other remote machine (NAS Linux based).

I open git-bash and I try do this: "git clone
user@IP:/directory/where/i/want/clone".
This doesnt work because I obtain "sh: git-upload-pack: command not found".

I search in google and I found a possible solution, I need add -u
/path/to/git-upload-pack.
When i try again writing git clone -u
/c/Git/mingw64/bin/git-upload-pack
user@IP:/directory/where/i/want/clone
After I Write the password I obtain sh:
C:/Git/mingw64/bin/git-upload-pack: No such file or directory. But it
exists! (in my local computer windows)

I'm newbie with Git and Unix system. What can i do ?
Thanks a lot!