推荐一个 gitignore.io 的网站,输入node可以生成一个文件:
回复 (7)
T
引用 idy这个是一个命令行工具可以生成.gitignore文件,举个例子: 具体用法可以参考网页文档
# Created by https://www.gitignore.io
### WebStorm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
/*.iml
## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the follwing:
# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml
# Gradle:
# .idea/gradle.xml
# .idea/libraries
# Mongo Explorer plugin:
# .idea/mongoSettings.xml
## File-based project format:
*.ipr
*.iws
## Plugin-specific files:
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
### SublimeText ###
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# workspace files are user-specific
*.sublime-workspace
# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project
# sftp configuration file
sftp-config.json
@idy
摘了一段,看起来挺有用的。
L
不错,以前是在 github 新建仓库的时候选一个
I
这个是一个命令行工具可以生成.gitignore文件,举个例子:
gi linux,osx,webstorm,sublimetext,node > .gitignore
具体用法可以参考网页文档
Y
T
Y
T
这个是做什么的? 忽略文件的吗?
参与回复
登录后即可参与回复。登录