Archive for the ‘Git’ tag
Git on Joyent Shared Accelerator
This is just a quick guide to setting up a remote Git repository on a Joyent shared accelerator.
Log into your Joyent server and create your remote git repository.
ssh host.joyent.us
cd ~/git
mkdir project.git
cd project.git
git --bare init
chmod -x hooks
exit
Now on your local box create your project directory and push the source files to your newly created remote repository.
rails project
cd project
git init
git add .
git commit -a
git remote add origin ssh://host.joyent.us/home/username/git/project.git
git push origin master
Now get your collaborators to clone your repository and push their changes. Assuming you have added them as users via virtualmin.
git clone ssh://host.joyent.us/home/username/git/project.git