$ git clone --mirror git@before.example.com:hogeuser/Sample.git $ cd Sample.git $ git push --mirror git@after.example.net:foouser/Sample.git
[参考URL]
What's the difference between git clone --mirror and git clone --bare
$ git clone --mirror git@before.example.com:hogeuser/Sample.git $ cd Sample.git $ git push --mirror git@after.example.net:foouser/Sample.git
$ git config --global http.proxy http://proxy.example.com:8080 $ git config --global https.proxy http://proxy.example.com:8080
$ git clone https://github.com/joyent/node.git
$ git config --global url."https://".insteadOf git://
$ git clone git://github.com/joyent/node.git
$ git config --list (該当箇所のみ抜粋) http.proxy=http://proxy.example.com:8080 https.proxy=http://proxy.example.com:8080 url.https://.insteadof=git://
$ less ~/.gitconfig (該当箇所のみ抜粋) [http] proxy = http://proxy.example.com:8080 [https] proxy = http://proxy.example.com:8080 [url "https://"] insteadOf = git://
$ git config --global http.proxy http://認証ID:認証PW@プロキシサーバのURL:ポート番号 $ git config --global https.proxy http://認証ID:認証PW@プロキシサーバのURL:ポート番号
$ git config --global http.proxy http://foo.bar%40example.com:hogepass@proxy.example.com:8080 $ git config --global https.proxy http://foo.bar%40example.com:hogepass@proxy.example.com:8080