Giter Site home page Giter Site logo

pythys / git-repo-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hakoerber/git-repo-manager

0.0 0.0 0.0 509 KB

A git tool to manage worktrees and integrate with GitHub and GitLab

Home Page: https://hakoerber.github.io/git-repo-manager/

License: GNU General Public License v3.0

Shell 1.30% Python 40.05% Rust 49.24% Dockerfile 0.17% Jinja 7.97% Just 0.60% Nix 0.68%

git-repo-manager's Introduction

GRM โ€” Git Repository Manager

GRM helps you manage git repositories in a declarative way. Configure your repositories in a TOML or YAML file, GRM does the rest.

Also, GRM can be used to work with git worktrees in an opinionated, straightforward fashion.

Take a look at the official documentation for installation & quickstart.

Why?

I have a lot of repositories on my machines. My own stuff, forks, quick clones of other's repositories, projects that never went anywhere ... In short, I lost overview.

To sync these repositories between machines, I've been using Nextcloud. The thing is, Nextcloud is not too happy about too many small files that change all the time, like the files inside .git. Git also assumes that those files are updated as atomically as possible. Nextcloud cannot guarantee that, so when I do a git status during a sync, something blows up. And resolving these conflicts is just no fun ...

In the end, I think that git repos just don't belong into something like Nextcloud. Git is already managing the content & versions, so there is no point in having another tool do the same. But of course, setting up all those repositories from scratch on a new machine is too much hassle. What if there was a way to clone all those repos in a single command?

Also, I once transferred the domain of my personal git server. I updated a few remotes manually, but I still stumble upon old, stale remotes in projects that I haven't touched in a while. What if there was a way to update all those remotes in once place?

This is how GRM came to be. I'm a fan of infrastructure-as-code, and GRM is a bit like Terraform for your local git repositories. Write a config, run the tool, and your repos are ready. The only thing that is tracked by git is the list of repositories itself.

Crates

Links

Mirrors

This repository can be found on multiple forges:

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.