-
Notifications
You must be signed in to change notification settings - Fork 2
Git
To clone project use:
git clone https://github.com/RealisNetwork/project_name.git
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;
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
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.
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.
-
For first you need add comment to PR, describe your changes.
-
Request review from out teammates(Don't forget to notify your teammates).
-
Assign yourself.
-
Wait for approval.
-
After resolving all conflicts, you could merge your branch.