Return to Snippet

Revision: 10719
at January 10, 2009 16:44 by endorfin


Initial Code
### SERVER
cd /path/to/your/git/repo/dir

mkdir my_repo.git
cd my_repo.git

git --bare init --shared

#fetch git repositoy into shared git repository
git --bare fetch /my/exists/git_repo master:master

### WORKSTATION
git clone ssh://user@server:sshport//path/to/your/git/repo/dir/my_repo.git my_repo

Initial URL


Initial Description


Initial Title
Create a shared Git Repository

Initial Tags
git

Initial Language
PHP