LoginSignup
3
4

More than 5 years have passed since last update.

既存のリポジトリを GitHub に 登録する (proxy 越し)

Last updated at Posted at 2015-02-05

忘れてしまうのでメモ。

git init して add , commit したお手持ちのリポジトリをGitHubにpush する方法です。


$ git remote add origin https://github.com/username/reponame.git
$ git config remote.origin.proxy http://company.proxy.com:8080
$ git push -u origin master

git config で proxy を設定するのがポイントです。
proxy サーバー名とポート番号は環境に合わせてどぞ。

3
4
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
3
4