How to init a empty repo for pushing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I have a repository in my laptop, and need to push the repo to a
remote server using ssh protocol.

I know how to init a original repo. But the repo in the server is not
original, the laptop repo is.

Just 'git init' in server, then 'git push server' after 'git remote
add server ...'  in laptop gives error.

Thanks,
Changsheng Jiang
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux