1.在本地文件夹下建立.gitignore文件,将github下的github/gitignore/Node.gitignore文件复制到.gitignore中;

2.执行命令git add .

3.git commit -m "init"

4.建立远程仓库

5.执行git remote add origin git@github.com:yangguoe/BootStrap4.git

6.git push -u origin master

成功将本地代码同步到远程

相关文章:

  • 2022-01-07
  • 2022-12-23
  • 2021-06-01
  • 2021-07-09
  • 2021-06-14
  • 2022-01-07
  • 2022-01-07
猜你喜欢
  • 2021-06-11
  • 2021-06-24
  • 2021-11-09
  • 2022-01-07
  • 2021-04-06
  • 2021-11-06
  • 2021-11-26
相关资源
相似解决方案