标签:git
错误信息:
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. ‘git pull ...‘) before pushing again.
hint: See the ‘Note about fast-forwards‘ in ‘git push --help‘ for details.
解决方法:
1、先pull到本地
2、设置到当前分支为默认push分支 git config --global push.default "current"
3、然后再git push就可以了
标签:git
原文地址:http://blog.csdn.net/paulery2012/article/details/40683609