Blog Engineering Demo: How to use Merge Request Commit Discussions
Published on January 4, 2018
2 min read

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

We want to hear from you

Enjoyed reading this blog post or have questions or feedback? Share your thoughts by creating a new topic in the GitLab community forum. Share your feedback

Ready to get started?

See what your team could do with a unified DevSecOps Platform.

Get free trial

New to GitLab and not sure where to start?

Get started guide

Learn about what GitLab can do for your team

Talk to an expert