The format of the generated email address changed in GitLab 11.7. Go to Settings > Advanced Settings andįor more information, see the forking workflow documentation. Make any other contributions to the upstream project, you can unlink yourįork from its upstream project. In the Target branch drop-down list box, select the branch from the upstream repository as the target branch.Ĭhange the default target branch (which can be useful if you are working in aĪfter your work is merged, if you don't intend to.In the Source branch drop-down list box, select the branch in your forked repository as the source branch.On the left menu, go to Merge requests, and select New merge request.You can create a merge request from your fork to contribute back to the main project. To reduce the need for editing merge requests manually through the UI. You can add other flags to commands when pushing through the command line remote: To create a merge request for docs-new-merge-request, visit: remote: Ĭopy the link and paste it in your browser. GitLab prompts you with a direct link for creating a merge request. Push your branch to GitLab: git push origin my-new-branch You can create a merge request by running Git commands on your local machine.Ĭreate a branch: git checkout -b my-new-branchĬreate, edit, or delete files. Above the file list, on the right side, select Create merge request.Ī merge request is created.Type a branch name and select New branch.On the left menu, select Repository > Branches.You can create a merge request when you create a branch. If the target is not the same as the source branch, or if the source branch is protected. Select the Start a new merge request with these changes checkbox or toggle.
You can create a merge request from an issue. Fill out the fields and select Create merge request.Select a source and target branch and then Compare branches and continue.In the top right, select New merge request.On the left menu, select Merge requests.On the top bar, select Menu > Projects and find your project.You can create a merge request from the list of merge requests. There are many different ways to create a merge request.