Giter Club home page Giter Club logo

Comments (2)

newren avatar newren commented on July 18, 2024

So...if I understand correctly, you had a repo with various disparate collections of files (perhaps which grow or are generated over time). Since you had to repeatedly do this filtering operation, that kind of rules out the original files having been a subdirectory that you just split off and included as a submodule at the same path. So, I presume you now have different paths for these files relative to the super-module since they are prefixed by the location of the submodule.

Further, you didn't just do one filtering operation, but did one to create a new repo (likely also doing another to remove those files from the original repo?), waited a while, did a new filtering operation to generate a new repo that you then merged (probably using --allow-unrelated-histories) with the first created repo (and maybe doing another at the same time to remove the second set of files from the main repo), etc.

Am I getting this right so far?

I'm not sure why you need to do multiple distinct filtering operations and include all branches and tags each time, but presuming you really do want to do this, can you just use a different prefix for the branches and tags each time? Then you don't run into duplicate tags.

I feel like there's a good chance I'm misunderstanding what you are trying to do; I definitely don't yet understand why you want to do it. But hopefully that helps somehow.

from git-filter-repo.

newren avatar newren commented on July 18, 2024

I'll assume this answered your question and close out; let me know if that's not the case.

from git-filter-repo.

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.