You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aru Sahni edited this page Jul 7, 2019
·
4 revisions
Specifying a Project ID
For some remotes (only GitLab at the moment), the internal API ID for the repository must be known in order to get MR information. Using the provided API token, git-req will try to look this up on first run. Unfortunately, some on-prem/hosted GitLab installations may be misconfigured and the query may not function as expected. In the event this happens, the project ID can be set manually by executing the following command in the project directory:
git req --set-project-id <PROJECT_ID>
The project ID can be found in the Gitlab UI.
GitLab
GitLab 11.x
Visit the project's main page.
The project ID should be visible below the project's name at the top of the page.