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

2 Responses to Make YUNIO Your Git Repo

  1. ryan 说道:

    这样跟工程文件直接放到里面有啥区别?
    我看唯一的好处就是减少了yun.io的工作了

    [回复]

    卢克 回复:

    确实差不多。
    只不过这样的话yun.io上就只是一个裸库了。

    [回复]

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>