目录

关于scoop的入门

介绍

安装

基础使用

软件逻辑

问题解决

<h3 id="使用-https-代理">使用 HTTPS 代理</h3>
 
<p>在使用 HTTPS 连接 GitHub 进行 push/pull 时(即 origin 地址为 https://github.com/xxx/xxx.git),需要更改本地 git 的配置,使用代理向 GitHub 发起请求。</p>
 
<blockquote>
  <p>要求:你需要有一个梯子,关于如何获取梯子,可以参考<a href="https://blog.hyperzsb.tech/collections/">我的收藏</a>中关于 VPN 的章节。</p>
</blockquote>
 
<p>执行如下命令:</p>
 
<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>git config <span class="nt">--global</span> <span class="nt">-e</span>
</code></pre></div></div>
 
<p>这将进入 git 的配置文件编辑界面(将使用 git 指定的默认编辑器打开)。</p>
 
<p>在该文件中加入如下内容:</p>
 
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[http]
        proxy = socks5://127.0.0.1:7891
[https]
        proxy = socks5://127.0.0.1:7891
</code></pre></div></div>
 
<p>其中“7891”为你的代理软件的指定出入端口,请根据实际情况自行修改。</p>
 
<blockquote>
  <p>该方法对我有效</p>
</blockquote>

注意事项

参考文献