problem with github

Walter Bright newshound2 at digitalmars.com
Sun Nov 23 06:33:38 UTC 2025


On 11/22/2025 4:29 AM, Rémy Mouëza wrote:
> Having given more thoughts to it, here are some ideas to try.
> 
> You may have to ensure pour local branch really tracks the remote one.
> Check it with `git branch -vv`:
> 
> 
>      > git branch -vv
>      * demo   462f969 [origin/demo] plop
>        master 462f969 [origin/master] plop
>        test   6d046ba [origin/test] test-2
> 

I get:

* test                                          f0a813d test



> If your test branch is only local or does not track origin/test, set its remote 
> tracking branch with:
> 
>      git branch -u origin/test test
> 


git branch -u origin/test test
Branch test set up to track remote branch test from origin.


> Since the remote branch is behind master you need to push force. The 
> `--force-with-lease` option will abort the push if someone else pushed changes 
> since your last pull.
> 
>      git push --force-with-lease

  git push --force-with-lease
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

   git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

   git config --global push.default simple

When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.

In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

Counting objects: 517, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (159/159), done.
Writing objects: 100% (184/184), 200.68 KiB | 0 bytes/s, done.
Total 184 (delta 130), reused 44 (delta 24)
remote: Resolving deltas: 100% (130/130), completed with 75 local objects.
To git at github.com:WalterBright/dmd.git
    87e5024..5e222bf  castRef -> castRef
    c2ba35f..0535bea  ctfeArrayEquals -> ctfeArrayEquals
    4403d84..cbcd479  defaultInitialize -> defaultInitialize
    075a944..dd4fbff  defaultInitialize2 -> defaultInitialize2
    42e97cc..5f2a14c  fix18528 -> fix18528
    a17f0c5..9bacf5a  fix18528-2 -> fix18528-2
    04dd6e0..e853c99  fix20956 -> fix20956
    a3a53fa..b60018a  fix22127 -> fix22127
    5549ca0..e52c933  fix22175 -> fix22175
    5fc227a..df367cc  fix22367 -> fix22367
    f704908..b303c29  fix22638 -> fix22638
    d7e8ccb..75e6839  fix23166 -> fix23166
    0c86272..235bd1c  fix23499 -> fix23499
    441885f..629084d  fix23913 -> fix23913
    ae7fe98..516c256  format87 -> format87
    6802789..febca7e  initsemArray -> initsemArray
    2f9bbb0..208813d  isCopyCtor -> isCopyCtor
    1d779af..b0c8491  nounderscore -> nounderscore
    73158d8..58bcca2  placementNew -> placementNew
    ad19421..55e9ecb  sapply -> sapply
    9175aaa..f0a813d  test -> test

------------------------
oddly, that last command seemed to work. However, it opened a large number of 
pull requests. I don't know how to delete all these PRs.


More information about the Digitalmars-d mailing list