jcid/sourcetree-merge-request-opener

An Sourcetree custom action for opening an Gitlab merge request window in the Google Chrome browser

1.0.4 2019-05-02 12:37 UTC

This package is auto-updated.

Last update: 2020-07-31 00:19:20 UTC


README

An small tool that will open the Google Chrome browser to create an new Gitlab merge request. The Gitlab merge request is based on the current branch and current opened GIT directory inside Sourcetree.

Installation

composer global require jcid/sourcetree-merge-request-opener

Why?

Why was this built? Because Jira has indicated that they will not support Gitlab's own instances. For more information you can read here:

Sourcetree configuration

Open Sourcetree preferences (short key: ⌘ ,)

Sourcetree preferences

Go to the Custom Actions

Sourcetree custom actions

Add an new Custom Action with the values

Option Value
Menu Caption Create Gitlab merge request
Shortcut ⌘ =
Script to run ~/.composer/vendor/bin/sourcetree-merge-request-opener
Parameters $REPO

Sourcetree custom action configuration

Now you can easily open a Gitlab merge request from the current branch with the set shortcut ⌘ =