我在 git 中有以下遥控器:
origin file:///some_path/project/ (fetch)
origin file:///some_path/project/ (push)
release file:///some_other_path/project/ (fetch)
release file:///some_other_path/project/ (push)
我打电话给:
git push --set-upstream origin --all
git remote update
当我推到origin
:
git push origin
一切正常,但是当我尝试推动时release
:
git push release
我收到以下错误:
fatal: You are pushing to remote 'release', which is not the upstream of
your current branch 'master', without telling me what to push
to update which remote branch.
为什么?