Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 683 Bytes

update.md

File metadata and controls

22 lines (13 loc) · 683 Bytes

How to get fetch/update the code from the GitHub

It is a good habit to always pull/fetch before you start edit your code. Just incase you missed out the commited work from your friend. If not, you will face the problem of merge conflict.

How to fetch/update?

Git Bash

  1. Open your Git Bash
  2. Navigate to your repository
  3. Type in git pull origin branch_name
  4. The command will display info of the latest commit.

Visual Studio Code

  1. Click on the "Refresh" button

    image

  2. Press "Ok" to confirm pull/refresh

    image