How do I git commit my changes in VS Code without any message? In terminal I use --allow-empty-message -m ''
. I used to be able to do what I want in VS Code by entering one space character, but that is no longer working.
I also wonder if using git in this way is a good option
No, that would pollute the history of your commits.
Using the extension "Local history" is a better approach, and does not rely on your VCS. (and is open-source: github.com/zabel-xyz/local-history )
Every time you modify a file, a copy of the old contents is kept in the local history. At any time, you can compare a file with any older version from the history. It can help you out when you change or delete a file by accident. The history can also help you out when your workspace has a catastrophic problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.