git拉github项目到本地

版权声明:本文为博主原创文章,使用请注明出处:http://blog.csdn.net/sxc1414749109 https://blog.csdn.net/sxc1414749109/article/details/80678019

上传项目到github

  • 1、在github创建仓库
  • 2、把github拉到本地

找到想要的文件夹位置打开git bash

$ git remote -v 查看github上的仓库地址

$ git pull origin master + 查询到的地址

  • 3、添加文件或项目

把需要的,项目或者文件拷贝进来,或者直接针对文件进行修改

基本git操作指令

  • 4、更新文件到github

    $ git push -u origin master

  • 5、刷新查看更新数据

猜你喜欢

转载自blog.csdn.net/sxc1414749109/article/details/80678019