为什么我在以下内容中收到关于推送到不合格目的地的错误?
$ git flow release start v1.03
Switched to a new branch 'release/v1.03'
(其次是一堆其他正常的东西。)
然后:
git flow release finish -Fp v1.03
Switched to branch 'master'
Merge made by the 'recursive' strategy.
.gitignore | 1 +
1 file changed, 1 insertion(+)
Deleted branch release/v1.03 (was c08e706).
Everything up-to-date
Counting objects: 1, done.
Writing objects: 100% (1/1), 228 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
To git@github.com:petertheyeti/myprivaterepo.git
e0ef1dd..29a2667 master -> master
Counting objects: 1, done.
Writing objects: 100% (1/1), 159 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
To git@github.com:petertheyeti/myprivaterepo.git
* [new tag] v1.03 -> v1.03
然后是错误:
error: unable to push to unqualified destination: release/v1.03
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some refs to 'git@github.com:petertheyeti/myprivaterepo.git'
Could not delete the remote release/v1.03 in origin.
查看 github 时,一切似乎都很好……也就是说,master 有了新的位。但是为什么会出现这个错误?
有什么线索吗?