Code Monkey home page Code Monkey logo

myrepos's Introduction

myrepos, a tool to manage all your version control repos

This is a fork that tries to adhere to the XDG base dir specification for a better home™.

I'm maintaining this as a method for having a dotfiles repo that has a neat and low impact on your $HOME without using silly things like symlinking.

In the same vein, as the general usage is done in tandem with RichiH/vcsh, I've decided to implement @RichiH's available.d/config.d scheme.

That means that:

  • mr register will add the configuration to $XDG_CONFIG_HOME/mr/available.d/${REPO_NAME}.${REPO_TYPE}

  • mr enable and mr disable can be used to enable/disable repos from available.d.

Original description

You have a lot of version control repositories. Sometimes you want to update them all at once. Or push out all your local changes. You use special command lines in some repositories to implement specific workflows. Myrepos provides a mr command, which is a tool to manage all your version control repositories.

It supports git, svn, mercurial, bzr, darcs, cvs, fossil and veracity.

The mr command is intended to be very self-contained, since it might be useful to check it into ~/bin when keeping your home in version control. It has no dependencies aside from basic perl. (The included webcheckout command has more dependencies, specifically the LWP::Simple and HTML::Parser CPAN modules, and optionally the URI module.)

To install mr, just copy mr into your PATH somewhere.

To get started using mr, perhaps you already have some checked out repositories. Go into each one and run mr register. Now mr has a list of them in ~/.mrconfig, which you can edit later to tune its operation.

Suppose you've cd'd to ~/src, and it has many repositories under it. To update them all, run mr update. To commit any pending changes in each, run mr commit. To check the status of each, you could run mr status.

For further details, and lots of configuration options, see the mr(1) man page or the website, http://myrepos.branchable.com/

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.