mkdir Repositories
cd Repositories
mkdir myNewProject.git
cd myNewProject.git
git init --bare
In your project
cd ~/workspace/MyNewProject
git remote add origin ~/Dropbox/Repositories/myNewProject.git
git push origin master
more on this topic, using-gitdropbox-together-effectively or How to use Dropbox as a git repository
No comments:
Post a Comment