AN E-COMMERCE WEBSITE
- fork the repo
- Clone the repo
- Open your vsCode and then enter the key (ctrl + J) to open the terminal
- you use this command to add the repo to your vsCode
git clone ""
the link you copied- notice you're in the main branch so make sure to change your branch like this.
git checkout -b "my-branch-name"
you if you're working on details feature it should begit checkout -b "details"
once you do that the place that was main will change to details. Now that you're in your branch you can work on your features.
- Once you're done working, you can now push to github. you push like this.
git add .
(you're adding all the files you just worked on)git status
(to check if all your files has been added. if any one shows red note that it has not been added so go back and do thegit add
.git commit -m "description of what you did"
(you're a commiting your changes with a message of what you did)git push origin (the-name-of-your-branch)
example: git push details- Once you have pushed, create a pull request and stop there. Make sure NOT TO MERGE
- Reach out to me if any of these still makes no sense