0
In terminal of my vs code, while giving the command ls -a or ls -lart it's not showing the hidden files.It's showing error.
In terminal of my vs code, while giving the command ls -a or ls -lart it's not showing the hidden files.It's showing error. Like...Get the childItem : parameter cannot be processed because the parameter name 'a' is not specified, 'a' is ambiguous . Possible matches include:-Attributes-Directory - File-Hidden -readonly -system ..
8 Antworten
+ 4
what kind of terminal are you using?
click the terminal tab, then the + icon to select the type of terminal, then select the Git-bash option
+ 4
vscode supports selection of different kinds of terminals.
+ 3
maybe it is not in that directory, or it does not exist at all...
find . -name ".git"
would search for .git in the subfolders and display it if it exists.
+ 1
I have used Default terminal of vs code editor .Okay , I will try by using gitbash terminal .
Thank you for response.
+ 1
Yes, It's working but while i gave command ls -lart It's showing like total 24 files. And . git file not showing.
For ls -a command It's showing ./ ../..reponame .
. git file should visible or not?
+ 1
https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://kodekloud.com/blog/file-count-in-directory-linux/%23:~:text%3DTo%2520count%2520all%2520files%252C%2520both,of%2520lines%2520in%2520the%2520output.&ved=2ahUKEwiiwa7qsJiEAxVWU_UHHUw4DAEQFnoECBMQBQ&usg=AOvVaw2NUMx-69pAeKg0aH1G-bx2
0
He
0
Yes, after initializing I got .git empty repo.
But I have confusion about why that now shows total 28 including .git , while I gave command ls -lart ?
Meaning of that command is to show hidden files right?
Is it normal to show like total 24 28 ? Or any changes needed in github setting or any other environment?