Skip to main content

gqc-vtk

Steps to Synchronize gqc/vtk-js Repository with kitware/vtk-js

  1. Create new gqc/vtk-js repository.
  2. Clone it locally:
    git clone git@github.com:yourusername/gqc-vtk-js.git
  3. Change directory into the cloned repository:
    cd gqc-vtk-js
  4. Assign "upstream" to point at kitware/vtk-js:
    git remote add upstream git@github.com:Kitware/vtk-js.git
  5. Bring the current state of upstream/master to the local repository:
    git fetch upstream
    git checkout master
    git reset --hard upstream/master
  6. Push force upstream/master to origin/master (where origin is gqc/vtk-js):
    git push origin master --force

By following these steps, our repository will match exactly the kitware repository, including commit history.