ZICK_restaurant

Git vs GitHub walkthrough

<-------------------------------------------------------

Clone a repository to your local repo

Steps are below

------------------------------------------------------->

git clone https://github.com/KhanhLe1306/ZICK_restaurant.git

git branch features/YourName-TaskNumber

cd features/YourName-TaskNumber

<-------------------------------------------------------

Before you work on your branch, make sure you :

1. "fetch" the lastest code of the "master" branch 

2. "merge" the lastest code to your working branch

3. "checkout" your branch 

4. You can start working now

Steps are below:

----------------------------------------------------->

git status -> check what branch you are in now

git checkout master -> go to master branch

git fetch -> get all the latest code "EVERY DAY"

git merge your_branch_name -> get your branch updated with the master branch

git checkout your_branch_name -> go to your branch and you can start working

<-------------After you have done some changes and you want to push it to the master branch----------

1. Stage ur changes 

2. Commit ur changes

3. Push ur changes 

4. Create a pull request

---------------------------------------------------------------------------------->

Contract me if you have any questions!