gitレポジトリの追加方法

gitのレポジトリを作成する

mkdir /tmp/repo
cd /tmp/repo
git init

公開用ディレクトリに移動する

cd /home/git
git clone --bare /tmp/repo repo.git
touch repo.git/git-daemon-export-ok
chown -R nobody:nobody repo.git

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です