Files
OpenBB/website/content/platform/contributing/platform-development/create_pr.md
Igor Radovanovic 83aa83f988 Improve SEO
2023-10-03 17:27:17 +02:00

1.5 KiB
Vendored

title, sidebar_position, description, keywords
title sidebar_position description keywords
Create a Pull Request 5 Learn how to create a Pull Request to the OpenBB Platform.
openbb platform
introduction
pull request
contributing
documentation
github

import HeadTitle from '@site/src/components/General/HeadTitle.tsx';

To create a Pull Request to the OpenBB Platform, you'll need to fork the repository and create a new branch.

  1. Create your Feature Branch, e.g. git checkout -b feature/AmazingFeature
  2. Check the files you have touched using git status
  3. Stage the files you want to commit, e.g. git add openbb_terminal/stocks/stocks_controller.py openbb_terminal/stocks/stocks_helper.py. Note: DON'T add any files with personal information.
  4. Write a concise commit message under 50 characters, e.g. git commit -m "meaningful commit message". If your PR solves an issue raised by a user, you may specify such issue by adding #ISSUE_NUMBER to the commit message, so that these get linked. Note: If you installed pre-commit hooks and one of the formatters re-formats your code, you'll need to go back to step 3 to add these.

Install pre-commit hooks

To install pre-commit hooks, run pre-commit install in the root of the repository.

Branch Naming Conventions

The accepted branch naming conventions are:

  • feature/feature-name
  • hotfix/hotfix-name

These branches can only have PRs pointing to the develop branch.