git提交推送到远程出现 报错 The current branch bugfix/xxxx has no upstream branch.
原因 没有和远方的仓库关联 (找不到家)推送不上去
解决办法
git push --set-upstream origin 分支名
origin 是指定仓库
git提交推送到远程出现 报错 The current branch bugfix/xxxx has no upstream branch.
原因 没有和远方的仓库关联 (找不到家)推送不上去
解决办法
git push --set-upstream origin 分支名
origin 是指定仓库