sd4399340

同时使用 Github 和 Gitcafe 托管博客

  •  
  •   sd4399340 · Apr 1, 2014 · 7929 views
    This topic created in 4602 days ago, the information mentioned may be changed or developed.
    看到ruby-china上的一个帖子 http://ruby-china.org/topics/18084

    也想试试,发现我的Dnspod上也有国内国外之分,于是就配了下

    http://bcs.duapp.com/weixintuchuang/kLuhM5V2zp.png

    Gitcafe的ping值只有30多,而Github差不多300多,希望能提高速度吧

    大家也可以试试~
    17 replies  •  2014-07-10 10:55:47 +08:00
    sd4399340
    sd4399340
    OP
    Apr 1, 2014
    1
    png不能显示啊。。。
    terrytowne
    terrytowne
    Apr 1, 2014
    2
    好想法啊!
    Tink
    Tink
    Apr 1, 2014
    3
    一直在用Gitcafe同步博客的
    sd4399340
    sd4399340
    OP
    Apr 1, 2014
    4
    @Tink 咋同步啊?能纯自动吗?
    Tink
    Tink
    Apr 1, 2014
    5
    @sd4399340 我是做在Gitcafe上用jekyll给原blog做了一个镜像,刚好都是markdown的
    Tink
    Tink
    Apr 1, 2014
    6
    @sd4399340 我能想到的全自动方法,就是在你的工作目录下,.git/config 文件,你可以写两个config,一个 config_hub,一个config_cafe

    然后写一个脚本,内容是 分别 mv 两个文件为config然后提交,完成后再改回来

    办法有点2,但是应该可行。
    destec
    destec
    Apr 1, 2014
    7
    @Tink
    @sd4399340
    http://gitshell.1kapp.com/?p=80 虽然有砸场子嫌疑,不过方法是通用的。
    Tink
    Tink
    Apr 1, 2014
    8
    @destec 还可以写两个remote origin啊?
    sd4399340
    sd4399340
    OP
    Apr 1, 2014
    9
    @Tink @destec 我现在是建了两个remote,一个origin指向github,另一个gitcafe指向gitcafe,每次push两次,这个一个remote里加两个url挺新鲜的
    soundbbg
    soundbbg
    Apr 1, 2014 via iPad❤️1
    10
    mengli
    mengli
    Apr 1, 2014 via Android
    11
    gitcafe 要备案吗
    lepture
    lepture
    Apr 1, 2014
    12
    喲,這不是我寫的麼!
    lepture
    lepture
    Apr 1, 2014❤️2
    13
    另外,可以參考一下我的 Makefile https://github.com/lepture/lepture.com/blob/master/Makefile
    sd4399340
    sd4399340
    OP
    Apr 2, 2014
    14
    @lepture 从ruby-china你的帖子搬过来的~
    linjh
    linjh
    Apr 2, 2014
    15
    @mengli 我已经关联一个月左右了吧,也没见有啥通知啊
    billryan
    billryan
    May 4, 2014
    16
    于是也在Github和GitCafe上同时部署了Hexo [Hexo多Repo部署——使用Github和GitCafe同时托管博客 | Bill Ryan's Cyberspace](http://blog.billryan.me/posts/2014/05/multi-deployment-with-hexo.html)
    ytf4425
    ytf4425
    Jul 10, 2014
    17
    @mengli 不用备案
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1857 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 09:17 · PVG 17:17 · LAX 01:17 · JFK 04:17
    ♥ Do have faith in what you're doing.