Full error log:
Warning:push.default is unset; Its implicit value was changing in
Git 2.0 from ' matching ' to ' simple '. To squelch this message
and maintain the current behavior after the default changes, use:
git config--global push . Default matching
to squelch this message and adopt the new behavior now, use:
git config--global push.default si Mple
The
' matching ' parameter is the default behavior of Git 1.x, which means that if you perform a git push without specifying a branch, it will push all your local branches to the corresponding matching branch in the remote repository. And simple is the default for Git 2.x, meaning that when executing git push does not specify a branch, only the current branch will be push to the code you get using git pull.
Follow the prompts to run: git config–global push.default matching or: Git config–global push.default simple, then push will not have a warning. the
difference between push.default matching and push.default simple: The Push.default setting maching means: git push Will push all your local branches to the remote host that corresponds to the name. This means that you may inadvertently push some branch that you did not intend to push. The Push.default set to simple means that git push simply push the current branch to the corresponding branch from which git pull was pulling down, and the process also checks to see if the names of the branches correspond to each other.