Created
May 10, 2010 11:11
-
-
Save ichikaway/395930 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
GitでSSHを使ってbackup用リモートリポジトリを作ってpush | |
リモートリポジトリ作成 | |
mkdir ./repo/hoge.git | |
git --bare --git-dir=./repo/hoge.git init | |
ローカルリポジトリのgit remoteを追加 | |
git remote add origin ssh://[email protected]/home/git/repo/hoge.git | |
git push | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment