Skip to content

Instantly share code, notes, and snippets.

@JavierIniesta
Last active October 23, 2015 13:43

Revisions

  1. Javier Iniesta revised this gist Sep 22, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion howto_PR_OCA.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ git clone https://github.com/OCA/web.git
    ```
    git remote add antiun https://github.com/Antiun/web.git
    ```
    * Create to your working branch.
    * Create a working branch.
    ```
    git fetch origin
    git checkout -b pr-example origin/8.0
  2. Javier Iniesta revised this gist Sep 22, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions howto_PR_OCA.md
    Original file line number Diff line number Diff line change
    @@ -8,12 +8,12 @@ git clone https://github.com/OCA/web.git
    ```
    git remote add antiun https://github.com/Antiun/web.git
    ```
    * Checkout to your working branch.
    * Create to your working branch.
    ```
    git fetch origin
    git checkout origin/8.0
    git checkout -b pr-example
    git checkout -b pr-example origin/8.0
    git push antiun pr-examble
    git branch -u antiun/pr-example
    ```
    * Commit changes and push them.
    ```
  3. Javier Iniesta revised this gist Sep 22, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions howto_PR_OCA.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    # How to create a PR to OCA
    * Create a fork using this [guide](https://help.github.com/articles/fork-a-repo/).
    * Clone the project.
    ```
    git clone https://github.com/OCA/web.git
  4. Javier Iniesta revised this gist Sep 22, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion howto_PR_OCA.md
    Original file line number Diff line number Diff line change
    @@ -22,4 +22,4 @@ git push antiun pr-example
    ```
    * Create the pull request using [this guide](https://help.github.com/articles/using-pull-requests/).

    Your next commits, will automatically update the pull request.
    Your next commits will automatically update the pull request.
  5. Javier Iniesta revised this gist Sep 22, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion howto_PR_OCA.md
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,6 @@ git add <modified_file_name>
    git commit -m 'Commit message'
    git push antiun pr-example
    ```
    * Create the pull request using [this guide](https://help.github.com/articles/using-pull-requests/).
    * Create the pull request using [this guide](https://help.github.com/articles/using-pull-requests/).

    Your next commits, will automatically update the pull request.
  6. Javier Iniesta created this gist Sep 22, 2015.
    23 changes: 23 additions & 0 deletions howto_PR_OCA.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    # How to create a PR to OCA
    * 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
    ```
    * Checkout to your working branch.
    ```
    git fetch origin
    git checkout origin/8.0
    git checkout -b pr-example
    git push antiun pr-examble
    ```
    * Commit changes and push them.
    ```
    git add <modified_file_name>
    git commit -m 'Commit message'
    git push antiun pr-example
    ```
    * Create the pull request using [this guide](https://help.github.com/articles/using-pull-requests/).