git出问题了,自己又重新配置了下git。 参考文章: https://netbeans.org/kb/docs/ide/git_zh_CN.html#github 转载于:https://www.cnblogs.com/blog_jun/p/3696674.html