Have fun with sci.dog

命令行方式添加github项目

最近想做一个matlab app designer的事件的笔记,做几个典型例子存到github上面。

1、本地初始化仓库

git init

2、添加文件

git add .
git commit -a

3、在github网站新建仓库

4、添加远程仓库地址
git remote add origin https://github.com/yourusername/your repository

5、推送本地
git push -u origin master

赞(0)
未经允许不得转载:SciDog » 命令行方式添加github项目

评论 抢沙发