Skip to content

Commit 8ce4938

Browse files
committed
Add an explanation of options for GitLab
1 parent 7ac4f71 commit 8ce4938

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,19 @@ git-open can automatically guess the corresponding repository page for remotes
9898
9999
#### GitLab support
100100
101-
To configure GitLab support you need to set `gitopen.gitlab.domain`:
101+
To configure GitLab support you need to set some options.
102+
103+
| option name | description | example |
104+
| ------------------------- | ---------------------------------------------------------- | ------------------ |
105+
| gitopen.gitlab.domain | The (web)domain name that will work for most of the people | gitlab.example.com |
106+
| gitopen.gitlab.ssh.domain | A specific ssh domain name, *if needed* | git.example.com |
107+
| gitopen.gitlab.ssh.port | A specific ssh port, *if needed* | 10022 |
102108
103109
```sh
104110
# use --global to set across all repos, instead of just the local one
105-
git config [--global] gitopen.gitlab.domain [yourdomain.here]
111+
git config [--global] gitopen.gitlab.domain [value]
112+
git config [--global] gitopen.gitlab.ssh.domain [value]
113+
git config [--global] gitopen.gitlab.ssh.port [value]
106114
```
107115
108116
## Related projects / alternatives

0 commit comments

Comments
 (0)