这是一个专门讨论 idea 的地方。

每个人的时间,资源是有限的,有的时候你或许能够想到很多 idea,但是由于现实的限制,却并不是所有的 idea 都能够成为现实。

那这个时候,不妨可以把那些 idea 分享出来,启发别人。
tioover

对整个系统的配置文件进行版本控制?

  •  
  •   tioover · May 31, 2012 · 4807 views
    This topic created in 5272 days ago, the information mentioned may be changed or developed.
    感觉配置文件经常改来改去的一不小心就改不回来原来的效果了
    一般而言就是 cp foobar.conf foobar.conf.old
    但这样一是麻烦而是只能返回上一个版本,而且到处都是old也不好看不好管理
    如果系统里有个类似git的东西(或者就是git)在管理一切配置文件的变更那有多好
    8 replies  •  1970-01-01 08:00:00 +08:00
    fanzeyi
    fanzeyi
    May 31, 2012
    1
    cd ~/.config && git init
    fanzeyi
    fanzeyi
    May 31, 2012
    2
    // im kidding..
    tioover
    tioover
    OP
    May 31, 2012
    3
    @fanzeyi 本来想吐槽的= =
    9hills
    9hills
    May 31, 2012
    4
    @tioover
    @fanzeyi 还真有在/etc用git init的。。。
    levn
    levn
    May 31, 2012❤️1
    5
    X_Del
    X_Del
    May 31, 2012
    6
    @fanzeyi 不如单独创建个文件夹,然后符号链接……
    eric_q
    eric_q
    Jun 1, 2012
    7
    puppet + git
    mr_pppoe
    mr_pppoe
    Jun 1, 2012
    8
    我就是在home下git init...用白名单加文件...
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1119 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 23:52 · PVG 07:52 · LAX 15:52 · JFK 18:52
    ♥ Do have faith in what you're doing.