跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/OutlineDriven/odin-codex-plugin/setup-gitignore

Codex Merge Repository Gitignore Patterns and Verify Their Scope

Compose a repository `.gitignore` from language and tooling patterns plus confirmed generated files.

中文

Install in Codex

Use a local Git repository and current ignore rules. Fetching optional external templates requires its networking tools.

  1. Copy the pinned `skills/setup-gitignore/` directory into `.agents/skills/setup-gitignore/` in the project.
  2. Have Codex read `references/LANGUAGE-DETECTION.md` and the bundled patterns, and list candidate local rules first.

Example task

In a local fixture with an existing `.gitignore`, add `build-cache/`. Compare a generated file under it and a root-level `example.json` with Git status and check-ignore.

What to check

The cache matches the new rule, `example.json` stays visible, and a second run adds no duplicate pattern.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Do new ignore patterns automatically untrack files?

Git ignore patterns primarily affect untracked files. An already tracked file's repository state requires a separate action.

Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯