diff --git a/README.md b/README.md index cd8811234..f9c667000 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,20 @@ To update a plugin, simply update the manifest with the most recent commit hash. It is recommended to open a pull request from a separate branch. You can run the following commands from your `plugin-hub` repository directory to set up a branch: ```bash -$ git remote add upstream https://github.com/runelite/plugin-hub.git # Only necessary if you have not set it before -$ git fetch upstream && git checkout -B upstream/master +# Only necessary if you have not set it before +git remote add upstream https://github.com/runelite/plugin-hub.git + +git fetch upstream +git checkout -B upstream/master +# update commit= in plugins/ +git add plugins/ +git commit -m "update " +git push ``` -Once your changes have been merged, you can delete the branch. The next time you would like to update your plugin, you can create the branch again. + +Then create a pull request from within the GitHub UI, or using the GitHub CLI via `gh pr create -w`. + +Once your changes have been merged, you can delete the branch (`git branch -D `). The next time you would like to update your plugin, you can create the branch again. ## Reviewing We will review your plugin to ensure it isn't malicious, doesn't [break Jagex's rules](https://secure.runescape.com/m=news/third-party-client-guidelines?oldschool=1),