Use Dropbox as Your Repo
Here's a quick recipe to create a private git repo in your DropBox folder. A good way to quickly add some version control goodness to a project you're about to start, and because it's on DropBox the source is: securely backed-up, and accessible from multiple computers.
cd ~/Dropbox/repos
mkdir myProject.git
cd myProject.git/
git --bare init
cd ~/projects/
git clone ~/Dropbox/repos/myProject.git myProject
cd myProject/
touch README.md
git add README.md
git commit README.md -m 'Initial commit.'
git remote add dropbox file://$HOME/Dropbox/repos/myProject.git
git push dropbox master
Written by Michael Mathews
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#