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
014604a3
Commit
014604a3
authored
Oct 18, 2019
by
Evan Read
Committed by
Russell Dickenson
Oct 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit new custom git URL text
- Also renamed screenshots to match standard.
parent
a3b593a7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
14 deletions
+17
-14
doc/administration/geo/replication/location_aware_git_url.md
doc/administration/geo/replication/location_aware_git_url.md
+5
-5
doc/user/admin_area/settings/img/clone_panel_v12_4.png
doc/user/admin_area/settings/img/clone_panel_v12_4.png
+0
-0
doc/user/admin_area/settings/img/custom_git_clone_url_for_https_v12_4.png
...rea/settings/img/custom_git_clone_url_for_https_v12_4.png
+0
-0
doc/user/admin_area/settings/visibility_and_access_controls.md
...ser/admin_area/settings/visibility_and_access_controls.md
+12
-9
No files found.
doc/administration/geo/replication/location_aware_git_url.md
View file @
014604a3
...
...
@@ -95,12 +95,12 @@ on the external URL of the current host. For example:
![
Clone panel
](
img/single_git_clone_panel.png
)
You 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
`gitlab_rails['gitlab_ssh_host']`
in
`gitlab.rb`
of web nodes.
You can customize the:
You can customize the HTTP remote URL as shown in
[
Custom Git clone URL for HTTP(S)
](
../../../user/admin_area/settings/visibility_and_access_controls.md#custom-git-clone-url-for-https
)
.
-
SSH remote URL to use the location-aware
`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.
-
HTTP remote URL as shown in
[
Custom Git clone URL for HTTP(S)
](
../../../user/admin_area/settings/visibility_and_access_controls.md#custom-git-clone-url-for-https
)
.
## Example Git request handling behavior
...
...
doc/user/admin_area/settings/img/clone_panel.png
→
doc/user/admin_area/settings/img/clone_panel
_v12_4
.png
View file @
014604a3
File moved
doc/user/admin_area/settings/img/custom_git_clone_url_for_https.png
→
doc/user/admin_area/settings/img/custom_git_clone_url_for_https
_v12_4
.png
View file @
014604a3
File moved
doc/user/admin_area/settings/visibility_and_access_controls.md
View file @
014604a3
...
...
@@ -137,18 +137,21 @@ from CI/CD jobs, even if _Only SSH_ was selected.
## Custom Git clone URL for HTTP(S)
> [Introduced](https://gitlab.com/gitlab-org/gitlab/merge_requests/18422) in GitLab 12.4.
You can customize project Git clone URLs for HTTP(S). This will affect the clone
panel:
![
Clone panel
](
img/clone_panel.png
)
![
Clone panel
](
img/clone_panel_v12_4.png
)
For example, if:
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/`
.
-
Your GitLab instance is at
`https://example.com`
, then project clone URLs are like
`https://example.com/foo/bar.git`
.
-
You want clone URLs that look like
`https://git.example.com/gitlab/foo/bar.git`
instead,
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
)
![
Custom Git clone URL for HTTP
](
img/custom_git_clone_url_for_https
_v12_4
.png
)
To specify a custom Git clone URL for HTTP(S):
...
...
@@ -156,8 +159,8 @@ To specify a 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.
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
...
...
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