This page provides more detailed instructions on the offline contribution process. Due to the size of this repository, we highly recommend using the online options outlined in README.md.
The first step to contributing is to install Git. GitHub has thorough documentation for setting up Git and Git LFS. On macOS, we recommend using Homebrew.
If you are new to Git, see Git Guides for explanations and tutorials. For a quick refresher on Git commands, see the Git Cheat Sheet.
If you want to avoid the command line, a Git client like GitHub Desktop can perform all the operations on this page---cloning, branching, displaying diffs, and committing---but use whichever tool you prefer.
Instead of just cloning this repository, fork it on GitHub. Then clone your fork:
git clone https://github.com/your-username/your-fork.git
For instructions on keeping your fork in sync with Roblox/creator-docs
over time, see Syncing a fork.
After you clone your fork, create a new branch with a unique name. Creating branches keeps your work organized and discrete and helps avoid merge conflicts when you sync your fork with Roblox/creator-docs
.
Because you eventually want to merge into the main
branch, use it as the basis for your new branch.
-
First, navigate to the repository root:
cd creator-docs
-
Then switch to the
main
branch (if you're not already on it):git checkout main
-
Finally, create your new branch:
git checkout -b your-new-branch
When you're happy with your changes, commit them to your branch. Include a short summary and longer description:
git commit -m "summary" -m "description"
git push origin your-branch
Then open Roblox/creator-docs
on GitHub and click New Pull Request. Choose main as the base branch and your branch as the compare branch.
Add a title and description of your changes, confirm that the contribution is your own, original work that you have the right to submit, and create the pull request.