'Visual Studio Code - Open all modified files
Solution 1:[1]
I had to execute this command from a shell:
code $(git diff --no-commit-id --name-only -r HEAD)
However, this opens a new instance of VSC. Use -r if you like to open it on an already open instance:
code $(git diff --no-commit-id --name-only -r HEAD) -r
-r --reuse-window Force to open a file or folder in an already opened window.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Black |

