How to manage configuration files when collaborating?

后端 未结 6 1352
春和景丽
春和景丽 2020-11-28 05:25

I\'m writing a short script with a few simple variables at the top of the page. I want to work on them with a friend, but we aren\'t sure how to manage the variables needing

6条回答
  •  清歌不尽
    2020-11-28 05:51

    Other options (not elegant but may be helpful):

    • Use git stash and git stash pop for your config file
    • Have a branch named, say, config which has your local config file changes and then use git checkout config

    Second option is good if you need to keep the local config changes in the repo (somewhere).

提交回复
热议问题