[git]解决:git config --global push.default matching

解决:git config --global push.default matching

这个警告的意思是:需要设置默认push的分支,所以设置好全局push的默认分支就好了。命令如下:

在有git目录下:输入git config --global push.default current

原文地址:https://www.cnblogs.com/xueweihan/p/5300114.html