Everybody around me is using Dropbox these days. I love Dropbox a lot, and I got one tip to share, today. I use Dropbox as my Git repository l hosting and use it to work on my own projects. The main reason is because I am too lazy and I don’t want to carry laptop.
This is how I do it:
- Initialize a project locally with Git
- Use command line and go to your local Dropbox directory
- Git clone from your local project repository
- Delete your local project repository
- Git clone from your Dropbox directory
The reason I don’t initialize project with Dropbox directory is because I want to save some Dropbox space. Because once you initialize a project, you will always want to ignore some files and if you clone it from your local directory then you will get a clean copy of source repository.
Once you setup these things, then you can basically checkout and project code from a machine that installed Dropbox. Easy! Right?
I hope GFW will allow my brothers and sisters in China using Dropbox soon so they can enjoy using a lot of benefits like this.
