![]() Range to be replaced by the suggestion when it is applied. Offsets are relative to the position of the diff thread, and specify the Within merge request diff threads by adjusting the range offsets. ![]() Reviewers can also suggest changes to multiple lines with a single suggestion The suggested change directly into the codebase in the merge request’s branch. If the user has the Developer role, GitLab pushes.GitLab creates a new commit with the changes.If you don’t specify it, the default commit message is used. Optionally specify a custom commit message for individual suggestions (GitLab 13.9 and later) toĭescribe your change. The suggestion in the comment can be applied by the merge request author Review, or Add comment now to add the comment to the thread immediately. Select either Start a review or Add to review to add your comment to a In the comment, add your suggestion to the pre-populated code block: The Insert suggestion icon in the toolbar: This action generates a commit in the merge request, authored by the user that suggested the changes.Ĭhoose a line of code to be changed, add a new comment, then select ![]() Permission) can apply these suggestions with a click. Then, the merge request author (or other users with appropriate Disabled by default.Īs a reviewer, you’re able to suggest code changes with a Markdown syntax in merge requestĭiff threads.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |