git创建分支后第一次push到远程分支时报出一下错误 fatal: The current branch venueCamera has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin venueCamera 原因: 没有和创建的分支做关联,他不知道你要提交到哪个分支去 解决办法 git push --set-upstream origin `后面跟上分支名`