How to correctly use git send-email with GitLab?

362 Views Asked by At

I am going to be managing a repository hosted in gitlab soon.
So far I have been a contributor to other repos and usually what I did was to create my own branch locally, work on that and then push my work to have a merge-request that the repo manager handled.
I know the concept of patches but never used them extensively.
If I want people to contribute to the repository I manage by using patches I suppose contributors will make the patches with git format-patch but then when they want to send them through git send-email how should they do it?

Do I as a gitlab repo manager get a "gitlab e-mail" to which direct the patches? or is that completely separated and I should use any generic e-mail address? (btw, how does this-in contrast- work in github just out of curiosity)

1

There are 1 best solutions below

0
On

git send-email is not supported yet.

You need to send an email where the subject line will become the issue title and the body will become the description. Attach your changes as a .patch file.

More information can be found in the documentation: https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html