sd4399340

同时使用 Github 和 Gitcafe 托管博客

  •  
  •   sd4399340 · Apr 1, 2014 · 7497 views
    This topic created in 4436 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
        1
    sd4399340  
    OP
       Apr 1, 2014
    png不能显示啊。。。
    terrytowne
        2
    terrytowne  
       Apr 1, 2014
    好想法啊!
    Tink
        3
    Tink  
    PRO
       Apr 1, 2014
    一直在用Gitcafe同步博客的
    sd4399340
        4
    sd4399340  
    OP
       Apr 1, 2014
    @Tink 咋同步啊?能纯自动吗?
    Tink
        5
    Tink  
    PRO
       Apr 1, 2014
    @sd4399340 我是做在Gitcafe上用jekyll给原blog做了一个镜像,刚好都是markdown的
    Tink
        6
    Tink  
    PRO
       Apr 1, 2014
    @sd4399340 我能想到的全自动方法,就是在你的工作目录下,.git/config 文件,你可以写两个config,一个 config_hub,一个config_cafe

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

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