Hi,
I read somewhere that you using git fetch instead of git push when merging a pull request. I tried to think of it a bit but could fully understand how it works.
My assumption is that, GitLab, for example, created a local temporary workspace on the server to megre between branches and then push. On the other hand, I assume that you are using a remote repository but fetching the source branch onto the destination branch doesn't really megre. You still need to merge or run pull and not fetch.
Can you please explain how it works?
Thanks
Gil
Hi Gil,
You could try this as a starter https://www.atlassian.com/git/tutorials/making-a-pull-request/
Hope this helps and the rest of the site too.
Phill
Hi Phill, I came across this link before I have asked. This link explains how to work with pull requests and that wasn't my question. I have asket how merging of pull requests work behind the scenes. Thanks Gil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.