GithubHelp home page GithubHelp logo

runt18 / metagit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stettberger/metagit

0.0 3.0 0.0 95 KB

Manage a big amount of Git Repositories

License: GNU General Public License v3.0

Python 100.00%

metagit's Introduction

The metagit project can be used to manage a huge amount of git (or any similar distributed scm) repositories at once. For example clone all your github repositories to a folder on your new shinny machine. The Project is inspired by a article in the german LinuxMagazin 08/10 by mschilli.

The configuration is located in the main python skript `metagit’. Edit it so make it fit your needs. For more information on commands try `pydoc gmp’ to the python module documentation.

A example session:

  • List all repositories which match the regex `metagit’ and jump there. See metagit help cd for using an shell function to streamline this.
    $ metagit list metagit
     (git:hub) [email protected]:stettberger/metagit.git --> /home/cip/2009/qy03fugy/github/metagit
    $ `metagit cd metagit`
    $ echo $PWD
    /home/cip/2009/qy03fugy/github/metagit
        
  • Execute a command on all repositories which matches the regex `metagit’ (here just one repo)
    $ metagit foreach metagit commit -a
    cd /home/stettberger/github/metagit; git commit  -a
    [master d6cb963] removed metagit on peer
     1 files changed, 0 insertions(+), 1 deletions(-)
        
  • Shortcuts for the foreach command for common tasks.
    $ metagit push metagit
    [... push ...]
        
  • Uploading new repositories to remote sites with only one command Hint: Set the github.token config in git for uploading to github
$ metagit upload github brand-new-project
[.. creating and pushing brand-new-project ..]

Features

  • SSHDir Listing - find repos on a remote machine
    • With support for uploading Repos to this remote dir
  • Github Listing - find all your github repos
    • With support for uploading Repos to this remote dir
  • Gitorious Listing - find all youy Gitorius repos
  • SVNList - clone all your svn repositories with git svn
  • Use different scm system at once The default is git, but hg does also work

metagit's People

Watchers

 avatar  avatar  avatar

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.