使用环境:
Angular CLI: 1.7.4
Node: 8.11.1
执行:ng new cloud --routing --style scss --skip-install
生成文件上传到github上 :步骤如下:
登录github
新建仓储
在自己本地文件内
git init
git status
git add .
git commit -m "github测试"
git remote add origin github仓储地址 // eg:https://github.com/lkpTomorrow/cloud.git
git push -u origin master
项目就上去了
过程中需要输入github的账号和密码验证
在文件夹内部使用这些命令