git提交代码是出现fatal: Path 'directory/file' is in submodule 'directory''错误。悲催啊,怎么也没找到,后来把说出错的文件夹(directory)删除了。再提交就OK了。哈哈。good。