Jan 4, 2018 - Victor Wu    

Demo: How to use Merge Request Commit Discussions

You can now hold discussions on specific commits within a merge request – check out how it works in this video.

In GitLab 10.3 we released a new feature: Merge Request Commit Discussions. This is great news for teams who work at the individual commit level, who want to be able to discuss and collaborate on different commits within one merge request. Watch the video below to see this new workflow in action.

In short: this feature (available in both GitLab Community and Enterprise Editions) allows you to add comments to commits within a merge request. Before you could only add comments to a particular version of a merge request. In the video, you'll see how now when you navigate to a specific commit, you're taken to the "Changes" tab, but instead of viewing the latest version, you see the diff associated with that commit.

You can then leave a comment inline as you would usually, the difference being that your comment now starts a conversation relating specifically to that commit.

If you leave a comment on another commit, that begins a separate discussion as well. All are accessible from the "Commits" tab or the Discussions" tab. You can resolve discussions as usual, with resolved discussions being collapsed by default, similar to before.

We hope teams who need a more granular approach to approving merge requests will find this useful! As usual, we welcome your feedback – be it on the release blog post or by opening an issue.

Cover image by Matthew Brodeur on Unsplash

Try all GitLab features - free for 30 days

GitLab is more than just source code management or CI/CD. It is a full software development lifecycle & DevOps tool in a single application.

Try GitLab for Free

Try GitLab risk-free for 30 days.

No credit card required. Have questions? Contact us.

Gitlab x icon svg