How to contribute to OrchardCore? #11825
-
I am trying to help by contributing to OrchardCore. What is the correct workflow to contribute to the project? Here is what I have been doing
I am guessing the issue is that I "Fetch the main upstream" to sync my main branch with OrchardCMS:main. I use GitHub's UI and VisualStudio 2022 to execute Any tips are highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
See the issue is that you main branch is desynchronized from the core project main branch. You can see on the image there that it says that you are 22 commits ahead of the actual main branch of the base repository. |
Beta Was this translation helpful? Give feedback.
-
Simply use a Git client such as GitHub Client or Fork .. etc to make the process easy, some will fetch the latest commits automatically |
Beta Was this translation helpful? Give feedback.
-
@hishamco @Skrypt I may have identified the issue. Trying to see if there is a way to first it. It looks a while back I did something wrong where I created a PR in my own fork from main "not sure why or how :(". But is there a way to reset the main branch at that point in time and then somehow pull the latest all over again so my fork is back async with OrchardCMS:main? I just want to make sure my feature branches are not impacted by this change |
Beta Was this translation helpful? Give feedback.
-
When you start a new PR just right click the main branch and create yours, this way both are in sync |
Beta Was this translation helpful? Give feedback.
-
I created a new branch called |
Beta Was this translation helpful? Give feedback.
-
What I see in #11829 is great, there's 1 commit instead, seems your issue has been resolved |
Beta Was this translation helpful? Give feedback.
See the issue is that you main branch is desynchronized from the core project main branch.
You can see on the image there that it says that you are 22 commits ahead of the actual main branch of the base repository.
Something went wrong on your fork at some point which I can't really say. One thing that you can do is that you can try to delete the main branch entirely and to get it back locally on your PC and try to force push it on your fork.