Skip to content

Commit

Permalink
Merge pull request #672 from hickford/gitlab-docs
Browse files Browse the repository at this point in the history
Link to GitLab support docs
  • Loading branch information
derrickstolee authored Apr 21, 2022
2 parents 2ab9429 + 2c827d0 commit 9342a49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ See detailed information [here](https://aka.ms/gcm/httpproxy).
- [Architectural overview](docs/architecture.md)
- [Host provider specification](docs/hostprovider.md)
- [Azure Repos OAuth tokens](docs/azrepos-users-and-tokens.md)
- [GitLab support](docs/gitlab.md)

## Experimental Features

Expand Down
2 changes: 1 addition & 1 deletion docs/gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To use on another instance, eg. `https://gitlab.example.com` requires setup and
2. Copy the application ID and configure `git config --global credential.https://gitlab.example.com.GitLabDevClientId <APPLICATION_ID>`
3. Copy the application secret and configure `git config --global credential.https://gitlab.example.com.GitLabDevClientSecret <APPLICATION_SECRET>`
4. Configure authentication modes to include 'browser' `git config --global credential.https://gitlab.example.com.gitLabAuthModes browser`
5. For good measure, configure `git config --global credential.https://gitlab.example.com.provider gitlab`
5. For good measure, configure `git config --global credential.https://gitlab.example.com.provider gitlab`. This may be necessary to recognise the domain as a GitLab instance.
6. Verify the config is as expected `git config --global --get-urlmatch credential https://gitlab.example.com`

### Clearing config
Expand Down

0 comments on commit 9342a49

Please sign in to comment.