# silly **Repository Path**: yswyn/silly ## Basic Information - **Project Name**: silly - **Description**: vue 自动化部署 - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-08-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # silly > A Vue.js project ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report # run e2e tests npm run e2e 删除暂存区的命令 git rm --cache 文件名 一、git怎么回退到某个历史版本 首先在 code.aliyun.com 的找到你所要回滚的分支提交记录,点击右侧红框中的连接即可得到 提交记录编号,截图如下: image.png image.png 2. 在Terminal 或者git控制条 执行 回退到某个版本命令 git reset --hard 139dcfaa558e3276b30b6b2e5cbbb9c00bbdca96 image.png 3. 强制提交到master_ptu分支(具体需要提交到哪个分支请酌情修改,此例为提交到master_ptu分支) git push -f -u origin master_ptu # run all tests npm test ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).