美文网首页工作生活
github 提交代码步骤

github 提交代码步骤

作者: mandy_tm | 来源:发表于2019-07-03 18:03 被阅读0次

    1,首先你得有个github账号,注册成功后按下面步骤走
    2,如下图,点击new ,创建新项目

    3,如下图勾选,记住Initialize 暂时不勾选

    4,create repository 后,出现下面页面,按命令行敲

    5,在github创建好项目后,我这边用的是mac,打开终端窗口,cd  ltserphone //进入本地项目

    ls -l  查看当前进入的项目内容

    git init   创建git  仓库

    git add .  

    git commit -m "first commit"

    git remote add iterphone https://github.com/smallTiger001/ltphone.git   //链接github

    git remote  //查看项目生成

    git push -u iterphone master

    6,学习github  地址http://try.github.io/

    相关文章

      网友评论

        本文标题:github 提交代码步骤

        本文链接:https://www.haomeiwen.com/subject/sxschctx.html