If you use git pull
, you pull the changes from the remote repository into yours.
If you send a pull request to another repository, you ask their maintainers to pull your changes into theirs (you more or less ask them to use a git pull
from your repository).
If you are the maintainer of that repository, it seems you're making it a bit more difficult by pretending you're playing two roles in that workflow. You might as well merge locally your development branch into your master branch and push that master branch into your GitHub repository directly.
(As a side note, if you're new to Git, I'd suggest using git fetch
and then git merge
instead of git pull
. git pull
is effectively git fetch
followed by git merge
, but doing them separately gives you better control over potential conflicts.)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…