- Created git repository
- Cloned git repo locally and cdied to the local folder
- Created HTML
- Created CSS
- Created JavaScript
- Commit and push the changes to github
Fromt the repository root folder do the following to push changes to the remote repository
git add .
git commit -m "commit message"
git push
-
You can use the following steps to add/link your remote repository to your local repository
From
terminal
orcommand prompt
cd to your local repository root foldergit init
to initialize a new git repositorygit remote add origin [email protected]:ebitsdev/lab-day1.git
if you are usingssh
protoclegit remote add origin https://github.com/ebitsdev/lab-day1.git
if you are usinghttps
protocle
- Please remember to replace the git repository
url
with your repository address.