Why doesn't git clean -fdX remove files ignored with a recursive …/** pattern?

后端 未结 0 847
死守一世寂寞
死守一世寂寞 2020-12-18 15:05

Here\'s the setup:

git init
echo "foo/**" > .gitignore
mkdir foo && touch foo/bar
git status --ignored

The printed statu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题