Study group for Node.js(Express) enthusiasts
First time here? Follow steps as given else just pull from upstream(start from step 5) and continue with your task
Step 1: Click on Fork at the top right corner of the repo
Step 2: Clone your forked repository i.e. git clone https://github.com/DSC-Unilag/NodeJS-SG.git
Step 3: cd into the cloned folder | cd NodeJS-SG
Step 4: git remote add upstream https://github.com/DSC-Unilag/NodeJS-SG.git
Step 5: git pull upstream week "week number"
e.g. git pull upstream week 2
Step 6: Check out to the task branch | git checkout -b <YOUR_NAME_WEEK_NUMBER>
e.g git checkout -b adamu_chukwuma_1
Run git branch
It should show that you are on your current branch
After implementing your task
Step 1: Run: git add .
Step 2: Run: git commit -m "< COMMIT MESSAGE >"
Step 3: git pull upstream week "week number"
Step 4: git push origin < BRANCH_NAME >
Go to the repository https://github.com/DSC-Unilag/NodeJS-SG.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.
If you have any more questions, please check out this resource -> https://www.youtube.com/watch?v=HbSjyU2vf6Y