Should I commit .lock file changes separately? What should I write for the commit message?
问题 I'm using poetry for my Python package manager but I believe this would apply to any programming practices. I've been doing this without knowing exactly what I'm doing, or how I should be doing. When you use a package manager and install a new package, there's usually a .lock file change to keep your build deterministic. Usually, I would commit these changes like: $ git add poetry.lock pyproject.toml $ git commit -m "Install packages: beautifulsoup4" i.e, I make a commit every time I install