Skip to content

Add "Check out branch" button to the MR page.

Douwe Maan requested to merge check-out-branch-button into master

I appreciated the thought behind adding the "Fetch this branch using ..." line, but not so much the implementation. I think a "Check out branch" button alongside the existing "Download as" makes more sense to get instructions on how to get the changes on your local machine, since that's pretty much what "Download as" does as well.

Like the "command line", the button opens the command line merge instructions modal. I've improved the text of that modal in !1120 (merged).

Screen_Shot_2015-08-08_at_22.10.19

It looks even better in combination with !1121 (closed), which gets rid of the "If you want to ..." line:

Screen_Shot_2015-08-08_at_22.10.55

cc @dzaporozhets @rspeicher

Merge request reports