.gitinore中没有配置的目录却上传不到GitHub,pathspec 'a' did not match any files错误的解决办法

NoSuchKey