LoginSignup
1
1

More than 5 years have passed since last update.

Git のデーモンをさくらのVPSのCentOS6.4にインストール

Posted at

基本はここのとおりにやっていけばOK
http://www.mk-mode.com/octopress/2012/12/07/centos-construct-git-server/

途中の

$ git remote add origin ssh://masaru@vbox.mk-mode.com/var/lib/git/public_git/test.git

だけが ssh://masaru@vbox.mk-mode.com:10022/var のようにポート番号を指定しないと自分の環境では上手く動かなかった。

参考

git remote add origin ssh://masaru@vbox.mk-mode.com/var/lib/git/public_git/test.git
http://www.mk-mode.com/octopress/2012/12/07/centos-construct-git-server/

git remote add with other ssh port - Stack Overflow
http://stackoverflow.com/questions/3596260/git-remote-add-with-other-ssh-port

1
1
2

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
1
1