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

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 3 years ago
MODERATORS
 

https://www.theodinproject.com/lessons/foundations-git-basics this is the lesson that i am following. I completed the Create the Repository section successfully. I also completed the Use the Git Workflow section successfully. It's the Modify a File or two where I am facing all the difficulties.

Can someone please show me the way how to do it ?

you are viewing a single comment's thread
view the rest of the comments
[–] slazer2au@lemmy.world 3 points 13 hours ago (1 children)

Create the README.MD with touch and open the file with nano or your editor of choice.

touch README.md
nano README.md

Add

G'day git

Exit nano with CTRL X then press Y to save the file.

[–] TheViking@nord.pub 1 points 13 hours ago (2 children)
[–] slazer2au@lemmy.world 2 points 13 hours ago

Assuming you are using the default layout. Right click on the folder structure on the left panel and select new file.

[–] OhNoMoreLemmy@lemmy.ml 2 points 13 hours ago* (last edited 13 hours ago)

Then use it to save a READEME.md  file in the git repository directory.