Skip to content

Commit

Permalink
add origin/upstream remotes, minor edits (#6932)
Browse files Browse the repository at this point in the history
  • Loading branch information
abebeos authored Mar 8, 2023
1 parent 6e6a251 commit af4e858
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ To contribute to the Aptos Core implementation, first start with the proper deve

To get the development installation with all the necessary dependencies for linting, testing, and building the documentation, run the following:
```bash
git clone https://github.com/aptos-labs/aptos-core.git
# fork https://github.com/aptos-labs/aptos-core.git via the github UI
# repace <your-github> below to clone your (origin) remote fork
git clone https://github.com/<your-github>/aptos-core.git
cd aptos-core
git remote add upstream https://github.com/aptos-labs/aptos-core.git
./scripts/dev_setup.sh
cargo build
cargo test
Expand All @@ -36,12 +39,10 @@ If you know Markdown, you can already contribute!

Changes to the project are proposed through pull requests. The general pull request workflow is as follows:

1. Fork the repo and create a topic branch off of `main`.
2. Locally run `./scripts/dev_setup.sh` to ensure you have all development dependencies required for our workflows.
3. If you have added code that should be tested, add unit tests.
4. If you have changed APIs, update the documentation. Make sure the documentation builds.
5. Ensure all tests and lints pass on each and every commit that is part of your pull request using `./scripts/rust_lint.sh`
6. Submit your pull request.
* If you have added code that should be tested, add unit tests.
* If you have changed APIs, update the documentation. Make sure the documentation builds.
* Ensure all tests and lints pass on each and every commit that is part of your pull request using `./scripts/rust_lint.sh`.
* Submit your pull request.

## Authoring Clean Commits

Expand Down Expand Up @@ -110,6 +111,6 @@ You *should not* update your branch by merging the latest main into your branch.

It is important that the project history is bisect-able so that when regressions are identified we can easily use `git bisect` to be able to pin-point the exact commit which introduced the regression. This requires that every commit is able to be built and passes all lints and tests. So if your pull request includes multiple commits be sure that each and every commit is able to be built and passes all checks performed by CI.

# Issues
## Issues

Aptos Core uses [GitHub issues](https://github.com/aptos-labs/aptos-core/issues) to track bugs. Please include necessary information and instructions to reproduce your issue.

0 comments on commit af4e858

Please sign in to comment.