DEV Community

Discussion on: Push to a forked pull request branch on GitHub—Am I doing this right?

erikthered profile image
Erik Nelson

Setting the upstream branch was what came to mind for me too. You can also setup the branch to track when you initially check it out:

git checkout -b my-branch-name andy/his-branch-name