Skip to content

Commit

Permalink
chore: update contributing guide with info to update an old fork
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanmaisse authored Dec 3, 2021
1 parent 2d482d4 commit cff9aa0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,26 @@ That's it! You've just contributed to the project, and we really appreciate it!
== Further Information

You can find more detailed information about contributing in the https://guides.github.com/activities/contributing-to-open-source/[Github guides].

---

== Using a fork of the old `gravitee-gateway` repository?

If you have a fork of `gravitee-gateway` and want to update it to get the full API Management monorepo, you can run:

[source,shell]
----
# Add APIM monorepo remote
git remote add upstream https://github.com/gravitee-io/gravitee-api-management
git fetch --all
# Update repo branches, et voilà
git pull upstream BASE_BRANCH
# Update the branch you are working on
# git checkout YOUR_BRANCH
# git rebase BASE_BRANCH
# Push the updated branch
git push origin YOUR_BRANCH
----

0 comments on commit cff9aa0

Please sign in to comment.