From 3de9840b7e29d711917d01f8eb3a18e78e8d6d9d Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 10 Sep 2008 00:11:47 +0200 Subject: [PATCH] README: Add synopsis for working with remotes --- README | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README b/README index 8299027..fd88504 100644 --- a/README +++ b/README @@ -184,6 +184,24 @@ SYNOPSIS tg: Updating base with t/gitweb/nifty-links changes... tg: Updating t/whatever against new base... + ## Clone a TopGit-controlled repository + $ git clone URL repo + $ cd repo + $ tg remote --populate origin + ... + $ git fetch + $ tg update + + ## Add a TopGit remote to a repository and push to it + $ git remote add foo URL + $ tg remote foo + $ git push foo + + ## Update from a non-default TopGit remote + $ git fetch foo + $ tg -r foo summary + $ tg -r foo update + USAGE ----- -- 2.30.2