Skip to content

Instantly share code, notes, and snippets.

@JavierIniesta
Last active October 23, 2015 13:43
Show Gist options
  • Save JavierIniesta/f6eb28d19237c695e440 to your computer and use it in GitHub Desktop.
Save JavierIniesta/f6eb28d19237c695e440 to your computer and use it in GitHub Desktop.
How to create a PR to OCA

How to create a PR to OCA

  • Create a fork using this guide.
  • Clone the project.
git clone https://github.com/OCA/web.git
  • Add the remote to your fork.
git remote add antiun https://github.com/Antiun/web.git
  • Create a working branch.
git fetch origin
git checkout -b pr-example origin/8.0
git push antiun pr-examble
git branch -u antiun/pr-example
  • Commit changes and push them.
git add <modified_file_name>
git commit -m 'Commit message'
git push antiun pr-example

Your next commits will automatically update the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment