git无法获取信息怎么办? 设置Git git config user.name "UserNameHear" git config user.email "UserEmailHear" # 可选选项 注意: 不要加--global选项。 再尝试使用Git提交存储库。