I am used to VisualSVN (Visual Studio plug-in for SVN) feature to select a part of code and revert changes to it (by shortcut CTRL+ALT+Z) and not affect the changes in other parts of the same file.
Is there something similar for Git? Or I have to revert a whole file?
Some IDE such as Android Studio the shortcut CTRL+ALT+Z to revert on block of change is default function, you can use it since the IDE was installed.
But unfortunately, if you want to do the same thing in the VS Code, you should set this by yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With