How to search through files (using VSCode) at a previous commit stage in a local repo
I wanted to change the files to a previous commit in a repo so as to use VSCode search in files feature. Note that searching through a particular file is easy using GitHub or GitHub Desktop or GitGUI. But I could not find a search in all files of project feature in them, which is available in VSCode. I am not confident enough about my git knowledge to go back to a previous commit stage in a live project folder, search through the files and then get back to the latest commit stage in the live project. So, to be on safe side, I made a copy of the project and in the temp copy, I wanted to change the files to the previous commit. But the copy also was linked to the remote repo and so that link had to be snapped to avoid any possible issues. git: how to break link with remote repo I tried to do that using GitHub Desktop and that seemed to do it but there was some confusion. I think Git GUI also may help there using its Remote menu but I am not so sure about it. git command line seems to be