Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Marcos Hernanez
Marcos Hernanez
86 Points

I do not how to add readme.md

I do not how to add readme.md, I am writing: Git add readme.md and did not work

2 Answers

Is the file called README.md or readme.md?

Lee Nolan
Lee Nolan
21,690 Points

You need to create the file first which can be done in the terminal using this command;

touch readme.md

Then I use nano;

nano readme.md

Here you can write out the content of the file, follow the prompts in nano to save and exit.

The file is now created and updated, you can then use git add and git commit as normal and push it to your GitHub or whatever.