我正在设置一个Angular 2示例项目。我的.gitignore
是否已足够,还是我漏掉了什么?
node_modules
typings
jspm_packages
bower_components
app/**/*.js
app/**/*.map
我正在设置一个Angular 2示例项目。我的.gitignore
是否已足够,还是我漏掉了什么?
node_modules
typings
jspm_packages
bower_components
app/**/*.js
app/**/*.map
angular-cli
生成
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# dependencies
/node_modules
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings
# e2e
/e2e/*.js
/e2e/*.map
# System Files
.DS_Store
Thumbs.db
通过"@angular/cli": "~15.0.2"
更新自动生成的.gitignore
文件,为Angular 15.0.0
添加了/.angular/cache
和其他应该被忽略的新文件夹:
# See http://help.github.com/ignore-files/ for more about ignoring files.
# Compiled output
/dist
/tmp
/out-tsc
/bazel-out
# Node
/node_modules
npm-debug.log
yarn-error.log
# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*
# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings
# System files
.DS_Store
Thumbs.db
ng new MyProject
命令创建的项目不包括任何.gitignore
文件 ...? - phil294