How to create a readme.md or readme.txt file on your github repository. Two methods.
In your git bash if you are in your current directory desktop/foldername that contians your HTML file
Touch readme.md
(Now in your git bash still in your current directory type)
cd READMe.md
This will get you into your READMe.md file and then you type
Git add readme.md
(Go to the folder you created and stored your firstname.html file and you will see the readme.md file, open it on your IDE and type in the links and other info, then type)
Git commit
Git push
2. Second Method
You simply create a readme.txt file in the same folder where your firstname.html file is created
You open it in your IDE (sublime or any ide of your choice)
Type in the links and other info into the readme.txt
Head to your git bash
Git add readme.txt
Git commit (If a new windows pops up press the "i" key on your keyboard so you can be able to type, you type in "Initial commit" and press the "esc" key on your keyboard and type ":wq"
This will commit your file then you type
Git push
Git push.
No comments:
Post a Comment