fatal: The upstream branch of your current branch does not match the name of your current branch.
fatal: The upstream branch of your current branch does not match
the name of your current branch. To push to the upstream branch
on the remote, use
git push origin HEAD:master
To push to the branch of the same name on the remote, use
git push origin HEAD
To choose either option permanently, see push.default in 'git help config'.
方法1:git push origin dev/ft 指定异常分支push
方法2:git push -u origin dev/ft 重新指定与远程同名的分支(推荐这种方式,执行之后以后就可以git push了)
网友评论