Git best practice for config files etc

前端 未结 4 2070
鱼传尺愫
鱼传尺愫 2020-12-12 17:35

I\'m still new to all things git and was wondering what is best practice in regards to config files. My local development server needs different config values to my live one

4条回答
  •  情话喂你
    2020-12-12 17:42

    Best way is create a file called ".gitignore" and insert the files/folders you want to ignore.

    This way you can make git add * everytime

提交回复
热议问题