git push
結果提示如下
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and merge the remote changes
hint: (e.g. 'git pull') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
git pull
由顯示正常:
Username for 'https://git.xxx.mycompany': myname
Password for 'https://[email protected]':
Already up-to-date.
解決辦法:
git config --global push.default current