Skip to content

Instantly share code, notes, and snippets.

@Foair
Created May 23, 2019 06:24
Show Gist options
  • Select an option

  • Save Foair/dc043f5e3e83878fed5949c99ce92fdd to your computer and use it in GitHub Desktop.

Select an option

Save Foair/dc043f5e3e83878fed5949c99ce92fdd to your computer and use it in GitHub Desktop.
将 Vue 项目生成并提交至 GitLab
chcp 65001
cd /d "C:\Users\Foair\Coding\Project\twinkle"
REM 必须使用 cmd 命令,不然在 yarn.cmd 会退出
cmd /c "C:\Program Files (x86)\Yarn\bin\yarn.cmd" build
cd dist
git init
git add .
git commit -m update
git remote add origin [email protected]:logsapling/school_index_back.git
git push -f origin HEAD:back
cd ..
rd dist /s/q
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment