forked from mhutchie/vscode-git-graph
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
It would be helpful to have a Save As... option in the context menu of the File Tree view (within the commit details panel), alongside existing options such as View Diff, View File at this Revision, Open File, Copy Relative File Path to Clipboard, etc.
This feature would allow users to restore a specific file from a past commit into the current working directory - at its original path - by creating it (if it doesn't exist) or overwriting the existing one (if it does), without staging or committing any changes. Essentially, it would provide a quick way to bring a file from a specific commit into the current branch, similar to a lightweight file checkout.