Pulling changes from fork parent in Git

Expanding on other answers, these are the steps I took on a fork I had of tsc-watch:

git remote add upstream https://github.com/gilamran/tsc-watch.git
git fetch upstream
git merge upstream/master
git push

Explained:

  1. adding the remote server as upstream (alias)
  2. fetch all changes from the upstream remote
  3. merge changes from upstream/master branch into my current branch
  4. push all changes to GitHub

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)