G
G
gorost2020-06-20 15:33:18
PowerShell
gorost, 2020-06-20 15:33:18

What will be the analogue of the command "ls -C"?

Hello, this is the problem. I'm learning GIT at https://githowto.com/ru/git_internals_git_directory
When I run the "ls -C .git" command, something like this should pop up:

( $ ls -C .git
COMMIT_EDITMSG MERGE_RR config hooks info objects rr-cache
HEAD ORIG_HEAD description index logs refs )

but this one doesn't show up in the terminal
but pops up

( Get-ChildItem : Cannot find parameter matching parameter name 'C'.
line:1 char:4
+ ls -C .git
+ ~~
+ CategoryInfo : InvalidArgument : (:) [Get-ChildItem], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand )

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2020-06-20
@gorost

It's just formatting the output of ls, it doesn't really affect anything. You can drop it.
https://www.man7.org/linux/man-pages/man1/ls.1.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question