Skip to content

Instantly share code, notes, and snippets.

@nabakdev
Created February 10, 2023 06:27
Show Gist options
  • Select an option

  • Save nabakdev/e16d7eb812d0f23a9c850d51aa4e2092 to your computer and use it in GitHub Desktop.

Select an option

Save nabakdev/e16d7eb812d0f23a9c850d51aa4e2092 to your computer and use it in GitHub Desktop.

Update forker repository

Add the main repository

git remote add upstream https://github.com/{repo-owner}/{repo-name}.git

Fetch the main repository changes

git fetch upstream

Merge upstream

git merge upstream/main

Push the changes

git push origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment