1 |
Hi Samuel |
2 |
|
3 |
No you don't have to file a new PR. Basically, you have to: |
4 |
* commit your code against the branch. At that point, there are two commits (or |
5 |
more if you commit multiple times) in your branch, or PR if we talk in GH |
6 |
jargon. |
7 |
* squash that commit into the previous commit so as to get a single commit. |
8 |
* force push against said branch: git push -f origin your-awesome-pr. |
9 |
|
10 |
That's about it. |
11 |
|
12 |
This article sums up the process pretty well: |
13 |
https://www.devroom.io/2011/07/05/git-squash-your-latests-commits-into-one/ |
14 |
|
15 |
Cheers, |
16 |
|
17 |
Sunday 21 Jun 2020 17:48:14, Samuel Bernardo wrote : |
18 |
> Hi, |
19 |
> |
20 |
> I need to add a commit to a gentoo pull request that I had opened before. |
21 |
> |
22 |
> https://github.com/samuelbernardo/gentoo |
23 |
> |
24 |
> Is it possible to add the commit to that pull request or I need to open |
25 |
> a new pull request? |
26 |
> |
27 |
> I already try to get help in gentoo-dev channel but I haven't voice there... |
28 |
> |
29 |
> Thanks |
30 |
> |
31 |
> |