IMO最も簡単な方法はsshを使用することです。あなたとあなたの仲間がすべてsshできるマシンがあれば、リポジトリの裸のクローンを作成し、sshサーバに置いてそこからクローンします。私は、サーバーとして私のdreamhostアカウントを使用してこれを行います。あなたの仲間のためにその後
cd my-repo
cd ..
# Make a bare copy of the repo
git clone --bare my-repo my-repo.git
# Upload the bare copy to the server
# -- in this case, I've already created a /repos folder to hold the bare repos
rsync my-repo.git/ mysshserver:/repos/my-repo.git/
# Add the new server repo as a remote to your local repository
cd my-repo
git remote add origin mysshserver:/repos/my-repo.git
:
唯一のトリックは(すべてのユーザーは、あなたがレポフォルダへの書き込み権限を持って使用しているアカウントを確認している
git clone mysshserver:/repos/my-repo.git/
/repos/my-repo.git/*サーバー上で)。
出典
2011-08-15 18:58:03
avh
GitHubの使用はオプションではありませんか? –
@Esko、GitHubはオプションではありません。なぜなら、リポジトリを非公開にするには$$$が必要で、私は無料のオプションを探しています。 – KRB
https://bitbucket.orgでは、無料の個人用gitリポジトリと水銀リポジトリを提供しています。 –