Where can |I read about merge pull requests mechanism?

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

1 answer

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,767 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you