Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
185ed3e4
Commit
185ed3e4
authored
Oct 15, 2019
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation for Custom Git clone URL
And link to it from the Location-aware Git URL Geo doc.
parent
aed7f171
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
4 deletions
+27
-4
doc/administration/geo/replication/location_aware_git_url.md
doc/administration/geo/replication/location_aware_git_url.md
+3
-4
doc/user/admin_area/settings/img/clone_panel.png
doc/user/admin_area/settings/img/clone_panel.png
+0
-0
doc/user/admin_area/settings/img/custom_git_clone_url_for_https.png
...dmin_area/settings/img/custom_git_clone_url_for_https.png
+0
-0
doc/user/admin_area/settings/visibility_and_access_controls.md
...ser/admin_area/settings/visibility_and_access_controls.md
+24
-0
No files found.
doc/administration/geo/replication/location_aware_git_url.md
View file @
185ed3e4
...
@@ -95,13 +95,12 @@ on the external URL of the current host. For example:
...
@@ -95,13 +95,12 @@ on the external URL of the current host. For example:
![
Clone panel
](
img/single_git_clone_panel.png
)
![
Clone panel
](
img/single_git_clone_panel.png
)
However, y
ou can customize the SSH remote URL to use the location-aware
Y
ou can customize the SSH remote URL to use the location-aware
`git.example.com`
. To do so, change the SSH remote URL's host by setting
`git.example.com`
. To do so, change the SSH remote URL's host by setting
`gitlab_rails['gitlab_ssh_host']`
in
`gitlab.rb`
of web nodes.
`gitlab_rails['gitlab_ssh_host']`
in
`gitlab.rb`
of web nodes.
Unfortunately the means to specify a custom HTTP clone URL is not yet
You can customize the HTTP remote URL as shown in
implemented. The feature request can be found at
[
Custom Git clone URL for HTTP(S)
](
../../../user/admin_area/settings/visibility_and_access_controls.md#custom-git-clone-url-for-https
)
.
[
Customizable Git HTTP clone root URL
](
https://gitlab.com/gitlab-org/gitlab/issues/31949
)
.
## Example Git request handling behavior
## Example Git request handling behavior
...
...
doc/user/admin_area/settings/img/clone_panel.png
0 → 100644
View file @
185ed3e4
19.5 KB
doc/user/admin_area/settings/img/custom_git_clone_url_for_https.png
0 → 100644
View file @
185ed3e4
10.9 KB
doc/user/admin_area/settings/visibility_and_access_controls.md
View file @
185ed3e4
...
@@ -135,6 +135,30 @@ Starting with [GitLab 10.7](https://gitlab.com/gitlab-org/gitlab-ce/merge_reques
...
@@ -135,6 +135,30 @@ Starting with [GitLab 10.7](https://gitlab.com/gitlab-org/gitlab-ce/merge_reques
HTTP(S) protocol will be allowed for Git clone or fetch requests done by GitLab Runner
HTTP(S) protocol will be allowed for Git clone or fetch requests done by GitLab Runner
from CI/CD jobs, even if _Only SSH_ was selected.
from CI/CD jobs, even if _Only SSH_ was selected.
## Custom Git clone URL for HTTP(S)
You can customize project Git clone URLs for HTTP(S). This will affect the clone
panel:
![
Clone panel
](
img/clone_panel.png
)
For example, if your
GitLab instance is at
`https://example.com`
, then project clone URLs look like
`https://example.com/foo/bar.git`
. If you'd to provide clone URLs that look like
`https://git.example.com/gitlab/foo/bar.git`
instead, then you can set this
setting to
`https://git.example.com/gitlab/`
.
![
Custom Git clone URL for HTTP
](
img/custom_git_clone_url_for_https.png
)
To specify a custom Git clone URL for HTTP(S):
1.
Enter a root URL for
**Custom Git clone URL for HTTP(S)**
.
1.
Click on
**Save changes**
.
NOTE:
**Note:**
SSH clone URLs can be customized in
`gitlab.rb`
by setting
`gitlab_rails["gitlab_ssh_host"]`
and other related settings.
## RSA, DSA, ECDSA, ED25519 SSH keys
## RSA, DSA, ECDSA, ED25519 SSH keys
These options specify the permitted types and lengths for SSH keys.
These options specify the permitted types and lengths for SSH keys.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment