creating readme through command line #2
Answered
by
ngljcb
superduppperme
asked this question in
Q&A
|
Everytime I create a new repository, I see these instructions: Instead of using |
Answered by
ngljcb
Apr 2, 2024
Replies: 1 comment 1 reply
|
Yup! @superduppperme if you want to create a README file using the command line, you should use the Basically the difference between the two are as follows:
In your case, you should use |
1 reply
Answer selected by
priyazsh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Yup! @superduppperme if you want to create a README file using the command line, you should use the
>operator instead of>>.Basically the difference between the two are as follows:
>: Redirects the output of a command and writes it to a file.>>: Appends the output of a command to a file.In your case, you should use
>to create the file and write to it:echo "# nvm-extension" > README.md