Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 848 Bytes

keeping-up-to-date.md

File metadata and controls

25 lines (13 loc) · 848 Bytes

Keeping up to date

Once you've created a project from the skeleton, the skeleton could still receive updates that you'll be missing out on.

To bring skeleton updates into your project cleanly and easily, you can take the following steps:

  1. Add skeleton as a remote

git remote add skeleton git@github.com:boxuk/wp-project-skeleton.git

  1. Fetch latest from the remote

git fetch skeleton

  1. Merge skeleton into your project

git merge skeleton/main --allow-unrelated-histories --squash

Notice the --allow-unrelated-histories this is the bit that allows us to bring in changes from a unrelated remote.

  1. Resolve conflicts

If there are any of course, when we are merging in changes from an unrelated history like this, it won't create a merge bubble, so once you've resolved conflicts, it will act as a fresh commit.

  1. Profit!