Created
January 12, 2011 07:03
-
-
Save matsuda/775798 to your computer and use it in GitHub Desktop.
git clone with port forwarding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ポートフォワード | |
$ ssh -L 10000:remote.host.com:22 gate.com -p 11122 | |
# clone | |
$ git clone git+ssh://git@localhost:10000/repo/project.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment