git 巨小角二孢菌

ars1skjm  于 2022-12-10  发布在  Git
关注(0)|答案(2)|浏览(99)

我正在建立一个Angular 2示例项目。我的.gitignore已经足够了吗?还是我错过了什么?

node_modules
typings
jspm_packages
bower_components
app/**/*.js
app/**/*.map
q3qa4bjr

q3qa4bjr1#

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
sxpgvts3

sxpgvts32#

"@angular/cli": "~15.0.2"更新了Angular 15.0.0的自动生成.gitignore,包括/.angular/cache和其他应在Angular中忽略的新文件夹:

# 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

相关问题