当前位置 博文首页 > Flower195的专栏:在github上创建一个repo create a repo

    Flower195的专栏:在github上创建一个repo create a repo

    作者:[db:作者] 时间:2021-07-03 22:07

    1、打开自己的github主页 ,单击创建repo按钮

    0001

    2、在出现创建界面填好相应的信息

    0002

    3、在自己的win7系统上打开github客户端,依次单击 refresh--->clone

    ?就可以将这个创建repo clone到自己设置的本地github 目录下了。

    0003


    4、之后就可以 在本地目录下 修改,更改repo中的文件,

    ? ?然后就可以提交。

    提交步骤:

    git add ?HelloWorld.java

    git commit -m ' 备注:add HelloWorld.java soruce code'

    git push -u origin master

    可参考下图:


    因为我们是直接把Test02这个repo clone下来的,就不用 git init啦!

    push时,也不用git remote add origin git@github.com:AaronFlower/Test01.git

    这一句啦!!!


    cs
    下一篇:没有了