A
A
Alexey Noir2019-03-17 11:02:36
git
Alexey Noir, 2019-03-17 11:02:36

Error running command in git?

Hello!
I am learning Git. The tutorial says to execute the command:
ls -C .git/objects/<dir>
The result should be:

$ ls -C .git/objects/09
6b74c56bfc6b40e754fc0725b8c70b2038b91e  9fb6f9d3a104feb32fcac22354c4d0e8a182c1

And I have an error:
$ ls -C .git/objects/<dir>
bash: syntax error near unexpected token `newline'

I tried to write dir without brackets, with quotes and with brackets and quotes - still an error.
Please tell me what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2019-03-17
@DarkNoir

as I understand it , they did it stupidly,
but it had to be done
with the condition that the directory 09 really exists

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question