So, I am cloning the git repo to the folder, and I want to check if there is a hidden file in that folder such as .git. And I found a command that will show all the files in the folder: ls -la. But, I tried to write the ls -la command in the terminal of VSCode but it threw a mistake or smth. So, I wonder are there any other commands in the terminal to show hidden files on Windows?
Asked
Active
Viewed 538 times
0
-
Linux commands will obviously not work on Windows, save for a very few cases. Use `dir /a` instead, or even better, just look at the folder in Windows Explorer. – Alejandro Aug 30 '21 at 16:37
-
At least on Windows, `.git` folders are not marked in the filesystem as "hidden". Visual Studio Code knows that that folder is generally "noise" when working in a repo, so it does not show it. Otherwise, if you actually have a Git repository, you have a `.git` folder. – crashmstr Aug 31 '21 at 12:30