tuzhuke 发表于 2018-11-7 22:53:42

Git ignore 设定不起作用解决方法

1. .gitignore 文件需要放到 master 根目录,而不是.git 文件夹下

2 然后执行如下命令
git rm -r --cached .
git add .
git commit -m 'update .gitignore'

lyuanc 发表于 2022-4-16 01:15:42


感谢楼主分享感谢楼主分享,学习一下:victory:
页: [1]
查看完整版本: Git ignore 设定不起作用解决方法