Closed offer-shmuely closed 5 months ago
You need to sync your master branch properly at some point... you shouldn't have all the merge branch commits, nor should it be 28 commits ahead of main (i.e. just like this PR/branch should only have one commit, not 29) ;) I don't know what your workflow is, but it is straightforward enough to do in Github natively...
That will then bring your master branch back into sync with this repo, and there won't be any extra noise in it or in any branching off that you do.
@pfeerick I will love to learn, it annoying me as well.
my flow is:
note that even that I sync the fork, I still see commits ahead
and when I like to create a PR it look like this: https://github.com/EdgeTX/edgetx-sdcard/compare/master...offer-shmuely:edgetx-sdcard:shmuely/model_locator_display_ver?expand=1
what am I missing?
Hm... the merge commits are probably confusing githubs sync into thinking it's actually in sync.
You could possibly do the following on your computer on the master branch of your edgetx-sdcard repo fork, to rewind it back 29 commits
git reset --hard HEAD~29
... then force push it (has to be forced, as remotes don't like time travel)...
git push --force
... and then sync fork button should work properly. If it doesn't, maybe try HEAD~30
instead (i.e. one more commit back).
TLDR ... The "Sync fork" button is basically doing the following (upstream remote is already configured)
git fetch upstream
git checkout master
git merge upstream/master
More on that at https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
SoarETX: Fixed running widgets due to libgui changes, now it use internal libgui to enable back the widgets allow to run on users TX that do not have libgui installed