Keep settings in branch

后端 未结 3 2041
抹茶落季
抹茶落季 2021-01-14 16:35

I begin to use git for software development.

I have a project on github. This project also involves some user-settings stored in dedicated settings-files.

On

3条回答
  •  时光取名叫无心
    2021-01-14 17:32

    You may commit the empty settings file and then commit a .gitignore file pointing to the original file, so in that case, the users would download the file but git will ignore the changes that users make.

提交回复
热议问题