|
@@ -13,15 +13,10 @@
|
|
|
> 2. GOPRIVATE中增加私有仓库地址:
|
|
|
>
|
|
|
>> * export GOPRIVATE=${GOPRIVATE},gtlib.local
|
|
|
->>
|
|
|
>> * export GONOPROXY=${GONOPROXY},gtlib.local # 会自动设置
|
|
|
->>
|
|
|
>> * export GONOSUMDB=${GONOSUMDB},gtlib.local # 会自动设置
|
|
|
->
|
|
|
-> 3. 增加本地hostname记录
|
|
|
->
|
|
|
->>
|
|
|
->
|
|
|
+>> * export GOINSECURE=${GOINSECURE},gtlib.local
|
|
|
+>>
|
|
|
> 3. 设置git config地址替换:
|
|
|
>
|
|
|
->> git config --global url."http://120.55.44.4:10080".insteadOf "http://gtlib.local"
|
|
|
+>> git config --global url."http://120.55.44.4:10080".insteadOf "gtlib.local"
|