Git Product home page Git Product logo

Comments (2)

tdhulster avatar tdhulster commented on May 13, 2024 2

https://github.com/samuelmeuli/tmignore does that

from asimov.

stevegrunwell avatar stevegrunwell commented on May 13, 2024 1

Disclosure: This issue was the first time I had heard of tmignore, and while I haven't used that tool, I'm thrilled to see developers across the globe being proactive about keeping their backups lean 😁

The .gitignore file may be designed to keep certain files out of a repository, but that doesn't always mean they should be excluded from backups.

For example: my project's local configuration file does not belong in source control, but it would be a bummer if my system crashed and I had to recover from Time Machine and rebuild the configuration file.

It appears that tmignore does permit certain file/directory patterns to be explicitly included in the Time Machine backups, but I think the two projects are approaching it from two different positions: while tmignore tries to squeeze every last unneeded file out of the Time Machine backups, Asimov takes more of a "we'll keep out the things that we are certain can easily be re-installed if needed" approach. The latter might result in some unnecessary files getting into the backups, but it also means you won't risk important files not getting in.

Fortunately, tools are using tmutil under the hood, though, so they should work just fine together if you want maximum exclusions 😄.

Thank you for the suggestion, and please give us a heads up if you do happen to run into conflicts when using both!

from asimov.

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.