Hexx's Study Notes

This repository displays my personal study notes across various tech subjects, showcasing my continuous learning and expertise in all things related to computer science.

View the Project on GitHub HexxKing/hexxs_study_notes

👈 Back to Table of Contents


✍️ How to update a local repo with new changes made to a forked repo on GitHub?

  1. List the current configured remote repository for your fork:
    • $ git remote -v
  2. Specify a new remote upstream repository that will be synced with the fork:
    • $ git remote add upstream {github url of repo you forked from}
  3. Verify the new upstream repository you’ve specified for your fork.
    • $ git remote -v
  4. Fetch the changes from the upstream remote:
    • $ git fetch upstream
  5. Pull the changes down from the upstream remote:
    • $ git pull upstream main

📚 Resources