About 50 results
Open links in new tab
  1. How to find a deleted file in the project commit history?

    Aug 26, 2011 · Once upon a time, there was a file in my project that I would now like to be able to get. The problem is: I have no idea of when have I deleted it and on which path it was. How …

  2. Find when a file was deleted in Git - Stack Overflow

    Jan 12, 2016 · To show the commits that changed a file, even if the file was deleted, run this command: git log --all -- [file path] If you want to see only the last commit, which deleted the …

  3. How do I find and restore a deleted file in a Git repository?

    The question was about restoring a file after it has been deleted and the change has been committed. This answer is about restoring a file which was removed only in the working directory.

  4. Restore a deleted file in the Visual Studio Code Recycle Bin

    Jun 9, 2017 · 65 First go to Recycle Bin of your local machine. Your VS code deleted files is there in Recycle Bin. So, Right click on deleted files and select-> Restore option then your deleted …

  5. windows - Restore deleted files in visual studio code in the code ...

    Aug 31, 2017 · I am really devastated because I have accidentally deleted 3 of my files in Visual Studio Code. I did it through the Source Code Management menu on the left side.

  6. How can I list all the deleted files in a Git repository?

    May 16, 2011 · 420 I know Git stores information of when files get deleted and I am able to check individual commits to see which files have been removed, but is there a command that would …

  7. Find commit to find a very old deleted file in Azure Devops

    Jan 12, 2021 · The top commit in the history is the one where the file was deleted. At that point you can view the commit details or do whatever else you want to do with the commit.

  8. git recover deleted file where no commit was made after the delete

    Aug 14, 2012 · Here are different cases as a reference to help others: If the deletion has not been committed, the command below will restore the deleted file in the working tree. $ git checkout - …

  9. git - Find a deleted file in Gitlab - Stack Overflow

    Oct 1, 2020 · 12 I deleted a file ages ago. I don't remember the commit ID or the branch, just the folder the file was contained within. What's the easiest way to find this file in Gitlab/see what …

  10. Restore a deleted folder in VS Code - Stack Overflow

    Sep 30, 2024 · 1 I know I can restore a deleted file in VS Code using Ctrl+Shift+P and Local History: Find Entry to Restore (see, for example, the following question: Restore a deleted file …