this post was submitted on 16 Jun 2026
9 points (84.6% liked)
Explain Like I'm Five
21443 readers
60 users here now
Simplifying Complexity, One Answer at a Time!
Rules
- Be respectful and inclusive.
- No harassment, hate speech, or trolling.
- Engage in constructive discussions.
- Share relevant content.
- Follow guidelines and moderators' instructions.
- Use appropriate language and tone.
- Report violations.
- Foster a continuous learning environment.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Depends, if you followed the tutorial precisely it should already have been created in the step "Create the repository 3.". You can use the
lscommand in the WSL terminal to see if it exists.In the base directory of the git repository you cloned from Github. You can do so with the command
echo "blaaaa" > README.md(this will overwrite the file if it exists already).See I think this is your misunderstanding right here. The tutorial tells you to enter
code ., wherecodemeans "start VS Code" and.means "in the current directory". You are supposed to then use the file explorer inside VS Code to select the README.md and modify it.This may not work as intended in WSL. If you enter
which codeand there is no output it won't work. Is there any reason why you are using WSL instead of just installing git for Windows? It comes with a terminal emulator, so there should be no problem following the tutorial and you can eliminate WSL as a possible friction point.Thank you very much. I shall try tomorrow again. If WSL is not required, l won't use it tomorrow. Now that l have installed git for windows, this entire work can be done on the terminal of vs code ?
Theoretically yes, but I would recommend the terminal git brings with it. You should be able to just open any location on your drives, right-click, and select "GitBash here". This will start a terminal with the directory you were in as the working directory.