间隔了一段时间未往gitlab上push文件,近期使用时,发现push时报错,这里记录下解决处理的方法。 错误一: 1[root@361way shell]# git push 2warning: push.default is unset; its implicit value is changing in 3Git 2.0 from 'matching' to 'simple'. To squelch this message 4and maintain the current behavior after the default changes, use: 5 git config --global push.default matching 6To squelch this message and adopt the new behavior now, use: 7 git config --global push.default simple 8See 'git help config' and search for 'push.default' for further information. 9(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode 10'current' instead of 'simple'……
Continue reading