Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Svn-to-Git
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王进波
Svn-to-Git
Commits
fea6d986
Commit
fea6d986
authored
Nov 02, 2018
by
王进波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
670f21f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
关于Gitlab域名更换问题.md
doc/关于Gitlab域名更换问题.md
+1
-1
No files found.
doc/关于Gitlab域名更换问题.md
View file @
fea6d986
...
@@ -47,7 +47,7 @@ git remote add origin https://example.com/group/somerepo.git #这一步添加新
...
@@ -47,7 +47,7 @@ git remote add origin https://example.com/group/somerepo.git #这一步添加新
### 内网下速度优化的建议
### 内网下速度优化的建议
内网环境下
`clone`
代码时,如果使用
`gitlab.wohitech.com`
域名,则会通过外网的阿里云服务器代理,速度比较慢,这时我们可以手动修改仓库的 URL ,例如 使用
`HTTPS`
时,将
`https://gitlab.wohitech.com/group/reponame.git`
改成
`https://civgit.vicp.net:8443/
wangjinbo/Svn-to-Git.git`
,使用
`SSH`
时将
`git@gitlab.wohitech.com:wangjinbo/Svn-to-Git.git`
改为
`git@civgit.vicp.net:8822/wangjinbo/Svn-to-Git
.git`
,这样可以强制走内网,下载速度可能达到
**30 ~ 50 Mbps**
内网环境下
`clone`
代码时,如果使用
`gitlab.wohitech.com`
域名,则会通过外网的阿里云服务器代理,速度比较慢,这时我们可以手动修改仓库的 URL ,例如 使用
`HTTPS`
时,将
`https://gitlab.wohitech.com/group/reponame.git`
改成
`https://civgit.vicp.net:8443/
group/reponame.git`
,使用
`SSH`
时将
`git@gitlab.wohitech.com:group/reponame.git`
改为
`git@civgit.vicp.net:8822/group/reponame
.git`
,这样可以强制走内网,下载速度可能达到
**30 ~ 50 Mbps**
...
...
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