当我打电话时,git remote show <remote_name>
我看到下面
Local branches configured for 'git pull':
master merges with remote master
Local refs configured for 'git push':
master pushes to master (up to date)
如何排除已配置的推送?所以git push
从主分支会抛出错误,只有推送将具有明确的远程名称git push <remote_name> <remote_branch_name>