GitHub Desktop is committing ignored files
This question already has an answer here:
Most often the case is that if the files existed before they were added to the .gitignore file, they will not be ignored in any following commits or pushes.
My suggestions for you, since you don't want to use the command line, is cut the files/directories from your git directory, perform a commit, and then push. After the push finished, you can paste the offending files/directories back into the git repo and they should now be ignored.
Just in case you wanted to know, you can use the git bash git rm -r --cached some-directory
and then perform a commit and push and you will have achieved the same result.
上一篇: .gitignore将其添加到已修改的回购后无法正常工作。
下一篇: GitHub桌面正在提交被忽略的文件