This page is a guide to using the Git version control system on Accelerators.
If you're new to Git, or want a general introduction to using Git for version control, start off by reading the Git Overview in the All Accelerators Knowledge Base.
To create a new Git repository on your Accelerator, first edit your ~/.bashrc file and add this to the top:
export PATH=${PATH}:/opt/local/bin
Then run something like:
cd ~ mkdir git mkdir git/myapp.git cd git/myapp.git git --bare init
To push an (existing) app from your local machine up to the remote repository:
cd myapp git add . git commit -m "initial import" git remote add origin ssh://hostname/home/username/git/myapp.git git push origin master
(Perhaps there's a more standard convention for repositories; feel free to edit this to reflect that.)