我有一个在Github上的代码库。这个代码库被另一个用户fork了。现在他已经发起了一个pull request。我想从我的端口推送一个提交到他的特性分支(他为此发起了PR),这是否可能呢?
下面是我所做的:
git pull remote-ref-other-user feature-branch
完成此操作后,我可以拉取他的提交。但是当我进行一些更改、添加其他提交并尝试以此方式推送时。
git push remote-ref-other-user feature-branch
我收到了这个错误。
error: src refspec feature-branch does not match any.
error: failed to push some refs to 'https://github.com/other-user/repo'
“我是否可以将我的提交推送到他的分支中?如果可以,那么该如何操作呢?”