1、注册用户。 打开 https://github.com/ , 点Sign up 注册即可。
2、创建项目
GitHub 创建仓库和提交项目

3、提交项目代码
cd zhihuribao // 在本地命令行中切换到自己的项目中
git init // 初始化仓库(想当于新建本地仓库)
git add . // 把所有文件提交到暂存区
git commit -m ‘init’ // 提交到本地仓库
git remote add origin https://github.com/xfee/zhihuribao.git // 和远程仓库建立连接,把地址换成自己的
git push -u origin master // 推送到远程仓库
GitHub 创建仓库和提交项目

相关文章:

  • 2022-01-02
  • 2021-06-17
  • 2021-12-23
  • 2021-10-26
  • 2021-11-24
  • 2021-06-05
  • 2022-01-18
  • 2021-11-11
猜你喜欢
  • 2022-02-03
  • 2021-05-01
  • 2021-10-05
  • 2021-06-12
  • 2021-05-27
  • 2021-12-20
  • 2021-09-29
相关资源
相似解决方案