/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
### SERVER
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
Comments
 Subscribe to comments
                    Subscribe to comments
                
                