Set up remote server
ssh git@wendt.se mkdir $project.git cd $project.git git --bare init git --bare update-server-info chmod +x hooks/post-update #should contain git-update-server-info $EDITOR description ./update-cloneurl.sh logout
Push from local
git remote add origin git@wendt.se:$project.git git push origin master
#!/bin/sh for i in *.git ; do echo "http://source.wendt.se/git-repo/$i" > $i/cloneurl done
Related posts: