- git init
- git add .
- git commit -m 'first commit'
- git remote add origin 你的远程库地址。如:git remote add origin github.com/cade8800/io…
- git push -u origin origin
更新: 在最后一步报错:
- Could not read from remote repository.Please make sure you have the correct access rights
没有解决
最后决定使用gitee