How to Undo Last Git Commit in VS Code | VS Code & GitHub #3

preview_player
Показать описание
This tutorial shows you how to undo your last commit in VS Code. This is a two-step process:

1. Open your command palette
Ctrl + Shift + P on Windows
Command + Shift + P on Mac

2. Type "Undo" and click on "Git: Undo Last Commit"

In the Source Control tab, you can unstage changes, undo changes, and remove files!

Thank you for watching!

#git #vscode #visualstudiocode
Рекомендации по теме
Комментарии
Автор

this should have shown how to follow through with committing the undo of changes. for example, which change window in the file compare is the 'current' vs 'previous' after undoing last commit? Microsoft does not label them.

cuisinart