1. 首先在github上创建一个新的Repository

2. 在本地windows机器上装上git

3. 建立一个文件夹,以后就用这个文件夹作为与Repository对应的库文件夹

4. 输入一下命令,建立文件夹与Repository的连接关系

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/lltppong-it/TeweWater.git
git push -u origin master

5.把要提交的工程复制该文件夹下,输入以下命令提交即可

git add .
git commit -m "new project"
git push origin master

ok !

相关文章:

  • 2021-05-29
  • 2021-10-15
  • 2021-08-19
  • 2021-08-08
  • 2021-04-09
  • 2021-06-26
  • 2022-12-23
猜你喜欢
  • 2021-08-01
  • 2021-07-15
  • 2021-08-05
  • 2022-12-23
  • 2021-12-10
  • 2021-11-06
  • 2021-08-29
相关资源
相似解决方案