Skip to content
Ruslan Tahiiev edited this page Apr 28, 2022 · 7 revisions

Start work with project.

Clone

To clone project use: git clone https://github.com/RealisNetwork/project_name.git

Create branch

ALWAYS all your changes, improvements and fixing bugs do in your OWN branch, so after cloning project create a new work branch.

To create branch use: git checkout -b my-own_branch123 main


my-own_branch123 - name of your branch; main - from which branch you want to create a branch;

Commit and push

To push your changes use:

git add .

git commit -m "short message"

git push origin my-own_branch123

for publish branch -> git push -u origin my-own_branch123

Preparation for merge

For first build project make build or SKIP_WASM_BUILD=1 cargo build --all --release --all-features

or build package SKIP_WASM_BUILD=1 cargo build -p package_name --release --all-features

Before creating a pull request, we strongly recommend using automatic code refactoring tools.

Read about it more.

Pull Requests(PR)

When you've finished pushing all the changes, it's time to create a pull request. Regardless of the amount of work done, a pull request must have been created.

  1. For first you need add comment to PR, describe your changes.

  2. Request review from out teammates(Don't forget to notify your teammates).

  3. Assign yourself.

  4. Wait for approval.

  5. After resolving all conflicts, you could merge your branch.

Clone this wiki locally