- Create a new git repo on your computer
- Create a file called
index.html
- Write your name in the file
- Stage the file
index.html
- Create new commit with the message
<put your name here> first commit
- Create a repo on GitHub
- Link it to your local repo
- Push your commit from
Step 1️⃣
to GitHub
- From GitHub
- Edit the
index.html
file to have your name + your city name
- Edit the
- Commit the change on GitHub with the message
<your name> add city from GitHub
- Pull changes from GitHub to your computer
- Create a new file called
README.md
- Write some information about yourself
- Stage the file
README.md
- Create a commit with the message
<put your name here> add readme
- Push to remote repo (to GitHub)
- Create a new branch called
xyz
- Checkout
xyz
branch - Create a new file called
wisdom.html
- Write some wisdom in the file "عادي بالعربي"
- Stage the file
wisdom.html
- Create a commit with the message
<put your name here> add wisdom
- Push
xyz
branch to GitHub
- Mohammed first commit
- Mohammed add city from GitHub
- Mohammed add readme
- ...