DEC.
14

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:

  1. Initialize a project locally with Git
  2. Use command line and go to your local Dropbox directory
  3. Git clone from your local project repository
  4. Delete your local project repository
  5. 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.

2 comments. post a comment 我要评论
Dong: 1 week after you told me this App, it was blocked, is that your fortune?
Phil: Great Idea Phoenix, does it play well with capistrano or do you have install dropbox on the server?