X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/e564d3b6398f5904a36df89f35d46f0cb232121a..e660714cc8dc3848bc7c7386e7f0e64adf14dbd0:/doc/index.mdwn?ds=sidebyside diff --git a/doc/index.mdwn b/doc/index.mdwn index 93afde3..b5a2511 100644 --- a/doc/index.mdwn +++ b/doc/index.mdwn @@ -16,7 +16,7 @@ That sets up a `~/.mrconfig` file listing your repositories. Now you can run `mr update` in your home directory, and it'll update every one of your repositories that you've registered with myrepos. -Want to update repositories in parallel? `mr update -j5` will run 5 +Want to update repositories in parallel? `mr -j5 update` will run 5 concurrent jobs! If you run `mr update` inside a repository, it'll only act on that @@ -40,8 +40,7 @@ run for any repository. It's like a `Makefile` for repositories. checkout = git@github.com:joeyh/foo.git update = git pull --rebase -You can make up your own commands too, and add them to a single repository, -or even globally so `mr` can use them in all repositories. +You can make up your own commands too: [bar] # This repository has an upstream, which I've forked; @@ -56,9 +55,11 @@ or even globally so `mr` can use them in all repositories. git merge upstream/master git push origin master +You can even define commands globally, so `mr` can use them in all repositories. + [DEFAULT] - # Teach mr how to `mr reup` to update with rebasing. - git_reup = git pull --rebase + # Teach mr how to `mr gc` in git repos. + git_gc = git gc "$@" This only scratches the surface of the ways you can use myrepos to automate and mange your repositories! @@ -75,25 +76,6 @@ Some more examples of things it can do include: * Manage your whole home directory in version control. (See [VCS-Home](http://vcs-home.branchable.com/)) -## install - -`git clone git://myrepos.branchable.com/ myrepos` -Or get it [from github](https://github.com/joeyh/mr). - -It's a simple perl script, which can be copied anywhere to install. - -Myrepos is included in all recent versions of Debian. `apt-get install mr` -It's also in Mac Homebrew as `mr`. - -## bugs - -Bugs should be filed to the [Debian BTS](http://bugs.debian.org/mr). - ## news [[!inline pages="news/* and !*/Discussion" show="4" archive=yes]] - -[[!sidebar content=""" - -Flattr this -"""]]