This readme aims to simplify and guide the way on how to make your first contribution. If you are looking to make your first contribution, follow the steps below.
Now clone the main repo link here [(https://github.com/SIDEHUSTLE-G51/G51-restaurant.git)] to your machine. Having accepting the invites from nick you will have access to pull & push from this repo, Go to your GitHub account, click on the code button and then click the copy to clipboard icon which is the code above.
Open a terminal and navigate to the folder you wish to work from and run the following git command:
git clone "url you just copied"
For example:
git clone https://github.com/SIDEHUSTLE-G51/G51-restaurant.git
#UI Concept Designs
Navigate into the folder using Cd { Change directory }
cd "folder name"
install the necessary require dependency [node_modules] by using the following npm command:
npm install
for people working on same page together, run the following git command:
git branch -a
The above code list all the branches avaliable.
Run the following git commit to switch to the branches you desire to work on.
git checkout "branch name"
for example
git checkout about
after switching to your desired branch, run the following git command to fetch any update made to the branch before writing your own line of code:
git pull
Having write your own line of code for a particular branch, kindly push to the branch using the following git command
git push -u origin "branch name"
for example
git push -u origin aboutPage