Menu

#27680 Allow Force Pushes

closed
nobody
None
https://sourceforge.net/projects/clean-up/
Clean up
2026-05-27
2026-05-20
lmat
No

How do I allow force pushes in my git repositories? I used to do Running "sf-help --scm" in the shell will show you your repo paths.

  1. ssh -t dartme,partwriter@shell.sourceforge.net create;
  2. Inside that SSH session, cd /home/git/p/partwriter/gitrepo.git/
  3. vim config;
  4. Change to denyNonFastforwards = false

It looks like the interactive shell is going away soon for my safety, so how should I do this in the future?

Discussion

  • lmat

    lmat - 2026-05-20

    I should point out that I've tried using SFTP to get to the git repository configuration to no avail:

    sftp dartme@frs.sourceforge.net;
    find /home;
    

    And I've tried at web.sourceforge.net with identical results as far as I can tell.

     
  • SourceForge Support

    Hello,

    Thank you for reaching out.

    Opening a support ticket is definitely the right way to handle this, and we’ll take care of it from our side.

    We’ve already enabled it for partwriter/gitrepo. If there are any other repos you’d like enabled as well, just let us know and we’ll get those added too.

    Sincerely,

    SourceForge Support

     
  • SourceForge Support

    • status: open --> closed
     
  • SourceForge Support

    Hello,

    We have not heard from you and are now closing this ticket. If you need any help moving forward, please submit another ticket. Thank you.

    Sincerely,
    SourceForge Support

     

Log in to post a comment.

MongoDB Logo MongoDB