LoginSignup
0
0

More than 1 year has passed since last update.

【Git】任意のGitHubリポジトリでプロキシを利用する【簡単設定】

Posted at

任意のGitHubリポジトリでプロキシを利用する設定

以下のコマンドを実行します。
GitHubリポジトリの組織名https://github.com/usuba/sampleというGitHubリポジトリであればusubaを指定してください。

git config --global http.https://github.com/[GitHubリポジトリの組織名]/.proxy http://[プロキシのドメインかIPアドレス]:[プロキシのポート]
git config --global https.https://github.com/[GitHubリポジトリの組織名]/.proxy https://[プロキシのドメインかIPアドレス]:[プロキシのポート]
git config --global url.https://github.com/[GitHubリポジトリの組織名]/.insteadOf git@github.com:[GitHubリポジトリの組織名]/
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0