为了避免在代码上传至git上时,将无需上传的代码提交,需要增加一个.gitignore文件,将无需上传的文件/文件夹罗列出来
# 避免提交的文件夹
miniprogram_npm
node_modules
.vscode
# 避免提交的文件
yarn.lock
yarn-error.lock
为了避免在代码上传至git上时,将无需上传的代码提交,需要增加一个.gitignore文件,将无需上传的文件/文件夹罗列出来
# 避免提交的文件夹
miniprogram_npm
node_modules
.vscode
# 避免提交的文件
yarn.lock
yarn-error.lock