Jiggling & Wiggling

September 20, 2009

用dropbox做私有git服务器

Filed under: 杂七杂八 — Tags: , — roylez @ 3:23 am

两样都用过的人,看标题大概就明白了。

这两天写代码,自己的代码,不想拿到github去公开,但是又没钱去买私有的git hosting服务,突然想起咱有dropbox。

方法很简单,在dropbox的目录里面用git init建立一个repository,然后,在项目目录里面(当然也是个git目录),使用git remote add把这个目录加为远程源,git push下,搞定!

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.