美文网首页
github上新建仓库,并初始化

github上新建仓库,并初始化

作者: 阿_贵 | 来源:发表于2018-05-31 21:04 被阅读0次

    github上新建仓库,初始化仓库:

    注册登陆后,右上角+号 -> New repository  新建test仓库

    在本地克隆提交推送文件到远程仓库

    git clone https://github.com/xyangui/test.git

    git status

    拷贝文件

    git add .

    git commit -m "init”

    git push -u origin master       //origin为远程仓库名,master为本地分支名

    相关文章

      网友评论

          本文标题:github上新建仓库,并初始化

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