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
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x