git提交项目到GitHub

在本地新建一个文件夹,右击文件夹,git bash here(假设你已经安装了git)

在这里插入图片描述

将github上的仓库clone到本地

执行git clone https://........git,地址为仓库地址,点击Clone or download可获得。
在这里插入图片描述

cd到要放的文件夹下,然后执行下述语句

  • git add . # add后面有空格和**.**
  • git commit -m " add Cypher ppt" # ""里面添加描述信息
  • git push # 此操作的目的是把项目提交到GitHub上,此时会弹出窗口让你输入账号密码信息

祝好运!

猜你喜欢

转载自blog.csdn.net/sunshine_lyn/article/details/83004468