Microsoft/vscode

Git - add support for `git restore`

Aperta

#177.569 aperta il 18 mar 2023

 (4 commenti) (1 reazione) (1 assegnatario)TypeScript (39.847 fork)batch import
feature-requestgithelp wanted

Metriche repository

Star
 (184.936 stelle)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

There needs to be a command "Git: Restore" which would discard local changes to the file, as if I would have entered git restore … in the terminal.

As an example of other commands, there already exists a command "Git: Stage Changes" which stages the changes for the current file, as if I would have entered git add … in the terminal.

"Git: Restore" is a very commonly needed command, but it seems to be missing.

See:

Guida contributor