I setup GIT in a Windows and a Ubuntu. Both of them works well locally. Now I want to put some repository from Windows to Ubuntu. I think I can use 'git push' in the Windows, or use 'git clone' in the Ubuntu. But neither works.
When I use
git push -v xxx.xxx.xxx.xxx:/share/source/repo.git
At begining, I got an error:
The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is.
After I used putty to save the host key, the error message disappeared. Then I got a
does not appear to be a git repository
error. After I modified the path to repository, the error message disappeared too. Now I get:
fatal: The remote end hung up unexpectedly
I didn't get enough information from the message.
So I want to check the git's log in both Windows and Ubuntu side to check what happened. But after googling 'git log', all entries are about git commit history. that's not what I need.
Can anyone shred me some light on this?