点击去安装 Homebrew
在mac //以下报错 mostthe@MostdeMacBook-Air test-gits % git clone https://github.com/-username11/vue-tabbers.git Cloning into ‘vue-tabbers’… fatal: unable to access ‘https://github.com/weijianzhong1/vue-tabbers.git/’: Failed to connect to github.com port 443: Operation timed out
加上这句 git config –global –add http.sslVerify false 再克隆
源代码管理 显示5k
把项目里gitignore配置以下
.DS_Store node_modules/ /dist/ npm-debug.log* yarn-debug.log* yarn-error.log* /test/unit/coverage/ /test/e2e/reports/ selenium-debug.log
Editor directories and files
.idea .vscode *.suo .ntvs *.njsproj *.sln
vscode 上传代码到git
1.更改了的文件在,源代码管理有显示数量,先按文件右边(+)号,做暂存更改,再按打勾提交,再在消息那里输入master–>点击左下角master ,上面有弹出来选择origin/master…–>再点击左上方刷新右边的…,选拉取,推送–推送(如何你没有仓库地址选推送到…),等左下角更新按钮转完,收工
|