我需要package-lock.json在提交之前添加到 gitignore。我该怎么做 ?
package-lock.json
git commit gitignore
commit ×1
git ×1
gitignore ×1