私はgitに.chef
ディレクトリとその下のすべてを無視させようとしています。ここに私の.gitignore
.gitignoreはディレクトリ内のファイルを無視していません
/d/code/chef$ cat .gitignore
.chef
.chef/
.chef/*
.chef/**
/.chef
/.chef/
/.chef/*
/.chef/**
に行き過ぎがどうあるべきかの内容だ。しかし、これは動作しません:
/d/code/chef$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .chef/trusted_certs/chef_am_hexagonmetrology_com.crt
は私が間違って何をしているのですか?
[gitignore](https://git-scm.com/docs/gitignore)のドキュメントを読んだことがありますか?最初の段落と注釈セクションでは、思ったとおりに機能しない理由と解決方法を説明しています。 – axiac