github最快速入门(最关键的语句)

来源:互联网 发布:免费空间域名 编辑:程序博客网 时间:2024/04/30 05:52
  1. …or create a new repository on the command line
    echo # test1 >> README.md
    git init
    git add README.md
    git commit -m “first commit”
    git remote add origin https://github.com/keyeechen/test1.git
    git push -u origin master

  2. …or push an existing repository from the command line
    git remote add origin https://github.com/keyeechen/test1.git
    git push -u origin master

0 0
原创粉丝点击