gitignore 文件失效问题

A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below for details.

官方文档

如果文档已经存在远端仓库,那么设置gitignore 是不会生效的

posted @ 2022-03-15 11:42  萱乐庆foreverlove  阅读(11)  评论(0编辑  收藏  举报