`

Visual Studio Code 配置.gitignore后不生效的问题

阅读更多

在工作区配置了.gitignore ,将

.idea/
.vscode/
bin/
pkg/

 但是发现完全没有什么用,后来看到VS code有一个插件:gitignore  装上之后你就明白

写道
gitignore extension for Visual Studio Code

A extension for Visual Studio Code that assists you in working with .gitignore files.

Features

Language support for .gitignore files
Add local .gitignore by pulling file from the the github/gitignore repository.
Usage

Start command palette (with Ctrl+Shift+P or F1) and start typing Add gitignore

Settings

{
// Number of seconds the list of `.gitignore` files retrieved from github will be cached
"gitignore.cacheExpirationInterval": 3600
}

 

分享到:
评论

相关推荐

    配置git

    如果想使用其他编辑器,如Visual Studio Code,只需将"vim"替换为你的编辑器命令即可。 Git的别名功能可以帮助简化常用命令,提高工作效率。例如,你可以设置`commit`和`status`的别名: ```bash git config --...

    点文件

    6. `.vscode/settings.json`: Visual Studio Code的配置文件,包含工作区和全局设置。 7. `.tern-project`: JavaScript代码编辑器Tern的配置文件,提供智能代码补全和提示。 8. `.eslintrc`: ESLint的配置文件,定义...

    uni-helper:使uni- *在其他编辑器(例如VSCode和WebStorm)中更好地工作

    【uni-helper】是一款专为开发者设计的工具,旨在优化基于uni-app框架的项目在非HBuilderX环境下的开发体验,特别是对于使用Visual Studio Code (VSCode) 和 WebStorm 等第三方编辑器的用户。uni-app是一个跨端的...

    git-config-repository

    2. **文本编辑器**:设置默认的提交信息编辑器,例如Vim或Visual Studio Code。 ```bash git config --local core.editor "code --wait" ``` 3. **行尾字符**:处理LF(Unix)或CRLF(Windows)行尾。若希望跨...

    uwu.github.io

    在创建和维护"uwu.github.io"时,开发者可能使用了文本编辑器如Visual Studio Code,以及版本控制工具Git来管理代码。GitHub Pages服务自动处理构建和发布过程,开发者只需将更新推送到GitHub仓库即可使更改实时生效...

Global site tag (gtag.js) - Google Analytics