X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/cc784447771957b08f4d5b9eed5f62e76ba81b63..5afed67228eca2a2943f06e33580e577b1f1409c:/doc/index.mdwn?ds=sidebyside diff --git a/doc/index.mdwn b/doc/index.mdwn index e2c05ab..784fcf8 100644 --- a/doc/index.mdwn +++ b/doc/index.mdwn @@ -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! @@ -78,9 +79,3 @@ Some more examples of things it can do include: ## news [[!inline pages="news/* and !*/Discussion" show="4" archive=yes]] - -[[!sidebar content=""" -* [[install]] -* [[todo]] -* Flattr this -"""]]