Make YUNIO Your Git Repo
http://www.yun.io/ 一个云存储同步空间,有Mac的客户端,虽然是QT写的,但是功能还OK。
可以将云存储空间挂载到本地的一个目录。
这些云存储空间其实可以用来作为自己的远程Git仓库
1 2 3 4 5 6 7 8 | #在YUNIO的目录中创建一个bare的git库,作为远程git库 cd /Users/Luke/YUNIO/Projects/ mkdir bookhelper.git cd bookhelper.git/ git init --bare #在原项目的本地git库中添加远程仓库,并提交 git remote add yunio /Users/Luke/YUNIO/Projects/bookhelper.git git push yunio master |
这样跟工程文件直接放到里面有啥区别?
我看唯一的好处就是减少了yun.io的工作了
[回复]
卢克 回复:
十一月 24th, 2011 at 3:18 上午
确实差不多。
只不过这样的话yun.io上就只是一个裸库了。
[回复]