Add ignored config file to git repo as sample

后端 未结 4 1450
-上瘾入骨i
-上瘾入骨i 2021-02-03 11:56

I have an repository for an app that I\'m working on that includes a configuration file. Currently, I distribute with a .dist extension, and have the user rename th

4条回答
  •  孤独总比滥情好
    2021-02-03 12:44

    I'd probably include an 'install' script of some sort that copied 'config.dist' to 'config'.

    I don't think there's a way to have a file both not-ignored and ignored.

提交回复
热议问题