Inside VSCode, I did a mistake and I commit with the same commit message too much files…
- User
Inside VSCode, I did a mistake and I commit with the same commit message too much files on git. I do not sync the changes on git. I would "undo" the commit, and correct it. How can I do? Please provide feedback.
- Assistant
If you've made a commit in Git but haven't pushed it to the remote repository yet, you can easily undo the commit and modify the files before committing again. Here’s how to do that using Visual Studio Code (VSCode) or the command line:
Using Command Line