How do I add a remote Git repository to an Ubuntu Server?

后端 未结 7 653
孤街浪徒
孤街浪徒 2021-01-30 03:52

I have created a Git repository on my Desktop machine (Windows 7) with:

git init
git add 
git commit -m \"added my files\"

7条回答
  •  日久生厌
    2021-01-30 04:40

    First thing I notice is that you're missing a ':'. Should be git remote add origin jonas@192.168.1.10:/home/jonas/code/myproject.git

提交回复
热议问题