How can I prevent Django from “forgetting” information whenever I make a Git commit?

前端 未结 2 1267
别那么骄傲
别那么骄傲 2021-01-07 15:54

I am working on a blog project in Django that I currently have a version running in production. I have been making changes to the Development version and as I push through t

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-07 16:25

    Git commit cannot make things disappear nor the push command.

    If I understand it right, you have your sqlite file in version control. You shouldn't do that. In that way you mess data between development and production.

提交回复
热议问题