Update source code from GIT

Hi!

I’m using the open source code of Pressbooks in a personal local development.
I opened a project in PhpStorm (I downloaded the pressbooks-book-2.0.1.zip).
I would like to know how I should update my version of Pressbooks from GIT- without losing my personal changes (on Pressbooks code).

Thanks in advance,
Etna

Hi @ETNA, if you’re working with the code directly instead of just installing it, I’d suggest creating a fork on GitHub and cloning it. You’ll need to run composer install from within the wp-content/plugins/pressbooks directory to load the dependencies. Then, you can add https://github.com/pressbooks/pressbooks.git as an upstream repo and merge changes from upstream into your fork when they become available. For more information on this technique, see here: