Skip to content

Pulling code from CC and Sufia into Hyrax

Michael J. Giarlo edited this page May 10, 2017 · 7 revisions

These are the steps for merging commits from CurationConcerns and Hyrax into Hyrax.

Step 1 only needs to be done once.

  1. Add CurationConcerns (or Hyrax) as a remote to your local Hyrax repo: git remote add cc https://github.com/projecthydra/curation_concerns.git or git remote add hyrax https://github.com/projecthydra/hyrax.git
  2. Fetch from the new remote: git fetch cc or git fetch hyrax
  3. Start a new branch for the merge: git checkout -b merge_cc or git checkout -b merge_hyrax
  4. Merge the latest commits into your branch: git merge cc/master or git merge hyrax/master
  5. Resolve any conflicts, keeping an eye out for references to CC or Hyrax in the code or file paths, which you should change to Hyrax
  6. Run the specs: rspec
  7. Create a PR
Clone this wiki locally