Giter Club home page Giter Club logo

Comments (4)

ranocha avatar ranocha commented on July 28, 2024

In GitLab by @sloede on Apr 3, 2020, 08:13

changed the description

from trixi.jl.

ranocha avatar ranocha commented on July 28, 2024

In GitLab by @sloede on Apr 3, 2020, 08:13

Just updated the description of the issue (added step 2).

from trixi.jl.

ranocha avatar ranocha commented on July 28, 2024

In GitLab by @sloede on Apr 3, 2020, 09:56

So.... it seems like I managed to clean it up good 🐺

IMPORTANT: If you used the amr_finetuning branch before, you now need to enter it and run git rebase and not git pull! If you accidentally used git pull, it will create a merge commit, which not what we want to happen!

To remove the ffmpeg file, I basically followed the instructions here and here. For the record (and the future), this is exactly what I did to clean up the git part of the repository:

cd /tmp

# Download bfg-1.13.0.jar from https://rtyley.github.io/bfg-repo-cleaner/

# Get fresh clone of repo
git clone --mirror [email protected]:numsim/code/Trixi.jl.git

# Clean up repo of all files larger than 10M
java -jar bfg-1.13.0.jar --strip-blobs-bigger-than 10M Trixi.jl.git

# Enter repo
cd Trixi.jl.git

# Clean up reflog and force aggressive garbage collection
git reflog expire --expire=now --all && git gc --prune=now --aggressive

# Push changes
git push

# Delete clone
rm -rf Trixi.jl.git

This is what I did in my current Trixi.jl clone (i.e., my working copy in which I do development):

# Enter repo
cd Trixi.jl

# Get current changes
git fetch

# Check out `amr_finetuning` branch
git checkout amr_finetuning

# IMPORTANT: Do a rebase instead of a pull!
git rebase

# Clean reflog and force garbage collection
git reflog expire --expire=now --all && git gc --prune=now --aggressive

Finally, I followed the instructions on https://docs.gitlab.com/ee/user/project/repository/reducing_the_repo_size_using_git.html#using-the-bfg-repo-cleaner and uploaded the object map such that GitLab can internally clean its databases and caches as well.

from trixi.jl.

ranocha avatar ranocha commented on July 28, 2024

In GitLab by @sloede on Apr 3, 2020, 10:24

closed

from trixi.jl.

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.