Skip to content

Contributing

Austin Howard edited this page Sep 18, 2021 · 3 revisions

If you want to improve rocket-science, here are some helpful steps for making contributions to the repository.

Create a fork

  • Create a fork of SketchLagoon/rocket-science and make any changes there.
  • Open pull request to SketchLagoon/rocket-science with your fork.

To checkout a branch from other forks or from SketchLagoon/rocket-science

Say you want to pull a branch branch-with-changes from Jordan-Gilliam/rocket-science into your fork to work on it locally...

  1. Add Remote pointing to Jordan-Gilliam/rocket-science:

git remote add Jordan-Gilliam https://github.com/Jordan-Gilliam/rocket-science.git

  1. Fetch the repository Jordan-Gilliam:

git fetch Jordan-Gilliam

  1. Checkout the branch from the Jordan-Gilliam/rocket-science remote:

git checkout Jordan-Gilliam/branch-with-changes

Branch is now in "detached HEAD" state.

  1. Create local branch:

git checkout -b branch-with-changes

Branch is now checked out and ready for work locally.