-
Click on Fork button at the top right corner to fork the repo.
-
Clone your forked repository to your local environment.
-
Navigate into the cloned folder -
cd envatoweb-app
-
Add upstream -
git remote add upstream https://github.com/Netacci/envatoweb-FE.git (Your forked repo url)
-
Pull updates from the upstream -
git pull upstream develop
-
Create a new branch for the feature you're working on -
git checkout -b [Feature]
e.g git checkout -b user_registration
-
Make sure you place your files in the appropriate folder you are working on.
-
Properly link your CSS and JS files(They should be in an asset folder)
-
Your pages should be named according to what you are working on e.g login.html login.css e.t.c
-
All your CSS files, images and Js files should be placed in the GENERAL ASSETS folder. Only your html file should be on the page folder.
-
To ensure you're on the right branch run
git branch
-
If everything is okay stage your changes -
git add .
-
And then commit -
git commit -m "Commit Message"
-
Pull upstream to avoid merge conflicts -
git pull upstream develop
-
Push to your forked repo -
git push origin develop
-
Go to the repository https://github.com/Netacci/envatoweb-FE.git
-
As soon as you get there, you are going to see a green ‘compare and create a pull request’
-
Click on it, and type your message, click on create pull request.