From: Joey Hess Date: Fri, 5 Jul 2013 18:23:58 +0000 (-0400) Subject: break example X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/a36be6f63b310b4b4f84381546c73625f450b9c4?hp=f30aec4113319e3a30a905923fa54390c9337463 break example --- diff --git a/doc/index.mdwn b/doc/index.mdwn index 88db812..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,6 +55,8 @@ 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 gc` in git repos. git_gc = git gc "$@"