Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 421
    • Issues 421
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #635
Closed
Open
Issue created Nov 08, 2017 by Admin@OpenFOAM-adminMaintainer

Cleanup of git repo

Hi, Is it possible to do some cleanup of the repo. I noticed the "twoPhasePachuka" tutorial case has historical artefacts that are mainly responsible for this. I reduced the repo size from 1.1G to 300M by issuing the following commands (and then re-added the tutorial case)

git filter-branch --tag-name-filter cat --index-filter 'git rm -rf --cached --ignore-unmatch tutorials/multiphase/MPPICInterFoam/twoPhasePachuka' --prune-empty -f -- --all
rm -rf .git/refs/original/
git reflog expire --expire=now --all
git gc --aggressive --prune=now

Regards Andrew

## Reattaching the author to the issue ticket: @Jackson ##

Edited Dec 11, 2019 by Kutalmış Berçin
Assignee
Assign to
Time tracking