Coder Social home page Coder Social logo

Remove the big files from git history about taudem HOT 3 CLOSED

 avatar commented on July 19, 2024
Remove the big files from git history

from taudem.

Comments (3)

dtarb avatar dtarb commented on July 19, 2024

@ayild I tried to do this. Not successfully. At the git push step (step 5) I got a lot of errors like

! [remote rejected] master -> master (protected branch hook declined)
! [remote rejected] refs/pull/100/head -> refs/pull/100/head (deny updating a hidden ref)
! [remote rejected] refs/pull/103/head -> refs/pull/103/head (deny updating a hidden ref)
! [remote rejected] refs/pull/105/head -> refs/pull/105/head (deny updating a hidden ref)

There were some updates that occurred and now the repository wants to create pull requests based on the pushes that did occur. I am not sure how to sort this out. I think the size may not have been reduced. If you are able to help, please do so.

from taudem.

artulab avatar artulab commented on July 19, 2024

@dtarb I got the same error on your repository. it is probably because your master branch is protected, so Git doesn't allow force push. You probably need to turn off the protection on that branch. Maybe this would fix your issue?

Steps : --> Settings -->Branches --> Tick Allow force pushes
                Permit force pushes for all users with push access.

you can disable it again after this operation.

By the way, for your information: It seems like, after this operation, everyone who cloned your repository will require to do fresh clone of TauDEM.

from taudem.

dtarb avatar dtarb commented on July 19, 2024

I did the push with force pushes allowed. git reported the same errors, but seems to have had an effect as the repository size is now smaller. I am going to call this done, but @ahmetartu if you find any problems, please let me know.

from taudem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.